Christopher M. Jones on 29 Jan 2006 22:06:19 -0000


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

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


No, I really don't need it to route anything. But the port is there, and
I thought I should know how to make it work.

1. It did need the crossover cable.
2. I didn't have the route right from the firewall to the router. I made
the router (wan side) 192.168.1.2, 192.168.2.1 lan side. Then I added
the route on the firewall: 192.168.2.0 gw 192.168.1.2 eth1.

It works. I'm very please. And thank you for your quick response.



On Sun, 2006-01-29 at 16:25 -0500, Ron Mansolino wrote:
> > 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. 
> 
> What's the pinout? Is it wired like a etherent host port, or like a hub/switch
> port? If it would ordinarily plug into a cable/dsl modem (hub) it's probably
> wired like a host, and since the eth card in your is also a host port, maybe 
> you need a crossover ethernet cable?
> 
> > 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, 192.168.1.1, is connected to the wan
> > port of a linksys wireless router. dhcp is running on eth1. It assigns
> > the router a wan ip 192.168.1.100-200, gateway 192.168.1.1, netmask
> > 255.255.255.0, dns Comcast's numbers. The router's lan address is
> > 192.168.1.2, 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. 
> 
> well... all you need after the firewall is a "wireless switch", do you really
> need the wireless router to actually route anything?

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug