Date: Tue, 14 Feb 2017 11:22:46 -0500 From: Ernie Luzar <luzar722@gmail.com> To: Bernt Hansson <bah@bananmonarki.se> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: linksys router behind gateway not working Message-ID: <58A32ED6.1020504@gmail.com> In-Reply-To: <db92fe4c-ad53-d3e2-6f0e-20cf744fbdae@bananmonarki.se> References: <58A3185B.7020606@gmail.com> <db92fe4c-ad53-d3e2-6f0e-20cf744fbdae@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Bernt Hansson wrote: > On 2017-02-14 15:46, Ernie Luzar wrote: >> Hello list; >> >> I am running 11.0 on my gateway system. It has a small LAN behind it. >> This gateway host has ipfilter firewall and a dhcp server. The LAN is >> cabled from the host to a switch and from the switch to each PC on the >> LAN. I added a cable from the switch to a linksys wifi router. I can >> get wifi and cable connection to the router but no connection to the >> public internet through the LAN. The dhcp server lease file shoes a >> lease for the router. I can see this ip address in the router's >> internal configuration. >> >> Is the problem because the router NATs it's issued ip address and then >> the host gateway system NAT's it again? >> >> Thanks for any light you can shed on this > Our connection is like this, can't check right now but it is from the > top of my head. > > internet--gateway--switch---LAN > | > |-- wifi > > Hope this is readable. The switch is dell power connect 2716 wifi is > asus something. > . > This is what the layout looks like |----router internet--gateway--switch-|---lan pc |---lan pc |-- lan pc The router is a linksys model wrt160n with default internal config. The LAN has worked for many years and still works with the router connected as shown as above, but nothing connected to the router works in this layout. I can cable a pc to the router and get connected to the router and it says that I have internet connection, but trying to browse to a url gives page not found error. The same thing happens if I wifi connect to the router. The gateway is running ipfilter firewall and it's log shows nothing getting logged for the ip address assigned to the router. The setup works if I place the router in front of the gateway so I know there is nothing wrong with the router. Having it this way is a security hole to my gateway server and lan.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58A32ED6.1020504>