Christopher M. Jones on 29 Jan 2006 20:49:53 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] connecting a router's wan port to a firewall?

I'm trying to set up a firewall between my cable modem and wireless
router. I have no problem connecting the firewall to the router's lan
ports, but I can't make things work on the router's wan port. 

The firewall is a Linux machine configured with ip forwarding. That
works fine. There are two nics on the firewall: eth0 is connected to the
cable modem, configured dhcp. eth1,, is connected to the wan
port of a linksys wireless router. dhcp is running on eth1. It assigns
the router a wan ip, gateway, netmask, dns Comcast's numbers. The router's lan address is, which it assigns to its clients as a gateway. 

Like I said, if I use the lan ports only, the setup works fine-- I guess
because that's just a switch and there is no routing involved. I could
be satisfied with this, but it seems like the 'right' way to do it would
be to make use of that wan port to the firewall. 

What am I not understanding?

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --