I'm using ASG 7.3.0.5, and I have the following basic configuration going (works great!)
1 x port as WAN connection to my DSL router (using DHCP)
1 x port as network connection to internal network. This connects to a wireless router, which has my PC and laptops and stuff behind it.
I just built an FTP server, so I want to put it in a DMZ. So, naturally, I know I need to configure another NIC on my firewall as another WAN uplink to the second port on my dsl modem, and another NIC on the firewall as the DMZ network (on a different subnet as the internal network), then give it a route, gateway, and setup masquerading, right?
Sounds simple. But I'm running into some problems…
1. When I enable DHCP on the the DMZ WAN Uplink interface, (which is connected to a second port on my dsl modem) it stays "down" unless I delete the interface, physically change the network cable to another NIC on the firewall and set it up for DHCP, etc. for the DMZ Wan uplink. Huh? This isn't a problem right now, it's a pain because I want to work on this remotely, so I can't move cables around and stuff. I can work around it by just reconfiguring it if necessary or restoring a backup config in the worst case when I get home and stuff, but any idea why? Is it holding on to the DHCP info. Somewhere that I can flush so I don't have to do it? Here is a snippet of the system logs that show the DHCP activity (other log info. Cut out for clarity):
2008:12:30-13:12:43 (none) dhcpcd[2551]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:12:47 (none) dhcpcd[2551]: timed out waiting for DHCP_ACK response
2008:12:30-13:12:47 (none) dhcpcd[2551]: broadcasting DHCP_DISCOVER
2008:12:30-13:12:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:13:47 (none) dhcpcd[2551]: timed out waiting for a valid DHCP server response
2008:12:30-13:13:47 (none) dhcpc-sh: DHCP client not running - starting now...
2008:12:30-13:13:47 (none) dhcpcd[2690]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:13:57 (none) dhcpcd[2690]: timed out waiting for DHCP_ACK response
2008:12:30-13:13:57 (none) dhcpcd[2690]: broadcasting DHCP_DISCOVER
2008:12:30-13:13:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:14:23 (none) dhcpcd[2690]: recvfrom: Network is down
2008:12:30-13:14:48 (none) dhcpcd[2854]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:14:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:14:58 (none) dhcpcd[2854]: timed out waiting for DHCP_ACK response
2008:12:30-13:14:58 (none) dhcpcd[2854]: broadcasting DHCP_DISCOVER
2008:12:30-13:15:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:15:58 (none) dhcpcd[2854]: timed out waiting for a valid DHCP server response
2008:12:30-13:15:58 (none) dhcpc-sh: DHCP client not running - starting now...
2008:12:30-13:15:58 (none) dhcpcd[3033]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:16:08 (none) dhcpcd[3033]: timed out waiting for DHCP_ACK response
2008:12:30-13:16:08 (none) dhcpcd[3033]: broadcasting DHCP_DISCOVER
2008:12:30-13:16:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:17:08 (none) dhcpcd[3033]: timed out waiting for a valid DHCP server response
2008:12:30-13:17:08 (none) dhcpc-sh: Sleeping 60 seconds
2008:12:30-13:17:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:18:08 (none) dhcpc-sh: DHCP client not running - starting now...
2008:12:30-13:18:08 (none) dhcpcd[3250]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:18:18 (none) dhcpcd[3250]: timed out waiting for DHCP_ACK response
2008:12:30-13:18:18 (none) dhcpcd[3250]: broadcasting DHCP_DISCOVER
2008:12:30-13:18:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:19:18 (none) dhcpcd[3250]: timed out waiting for a valid DHCP server response
2008:12:30-13:19:18 (none) dhcpc-sh: Sleeping 60 seconds
2008:12:30-13:19:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:20:18 (none) dhcpc-sh: DHCP client not running - starting now...
2008:12:30-13:20:18 (none) dhcpcd[3387]: broadcasting DHCP_REQUEST for xx.xx.xx.xx
2008:12:30-13:20:28 (none) dhcpcd[3387]: timed out waiting for DHCP_ACK response
2008:12:30-13:20:28 (none) dhcpcd[3387]: broadcasting DHCP_DISCOVER
2008:12:30-13:20:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2008:12:30-13:21:28 (none) dhcpcd[3387]: timed out waiting for a valid DHCP server response
2008:12:30-13:21:28 (none) dhcpc-sh: Sleeping 60 seconds
2008:12:30-13:21:58 (none) dhcpc-sh: DHCP connection fine. Checking again in 60 seconds
2. I'm not sure exactly what I need to do to get things working for the DMZ too - was I right above? These are the steps I planned to take (and where I get lost):
A. Create interface "DMZ WAN Uplink" (via DHCP from DSL modem)
B. Create interface "DMZ FTP Server" --> connect to FTP server
C. Create Static Route as Gateway Route; Network = DMZ WAN Uplink (from step A); Gateway = ??? I would have specified the DMZ FTP Server from step B, but it won't let me…huh? I tried the reverse too and the same thing...
D. Create Masquerading Rule for "DMZ FTP Server -->DMZ WAN Uplink, right? Just like my existing masquerading rule for my first network.
E. Create packet filter rules, and have fun!
My confusion is because of the default gateway - that was a nice way to just click and get my first network going, but you can only have one default gateway understandably….hhmm….Ideas? Thanks in advance for any input - appreciated!!!
This thread was automatically locked due to age.