From owner-freebsd-questions@freebsd.org Tue Feb 14 15:26:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92E50CDFFCE for ; Tue, 14 Feb 2017 15:26:45 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (23-24-207-145-static.hfc.comcastbusiness.net [23.24.207.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7038B18C7 for ; Tue, 14 Feb 2017 15:26:44 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from Cone-of-Silence.local (localhost [127.0.0.1]) by ns.mahan.org (8.14.9/8.14.9) with ESMTP id v1EFG6mX083938; Tue, 14 Feb 2017 07:16:07 -0800 (PST) (envelope-from mahan@mahan.org) Subject: Re: linksys router behind gateway not working To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <58A3185B.7020606@gmail.com> From: Patrick Mahan Message-ID: <85ada70d-48ac-e409-697b-2f186da5274d@mahan.org> Date: Tue, 14 Feb 2017 07:16:03 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <58A3185B.7020606@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 15:26:45 -0000 On 2/14/17 6:46 AM, 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 > Hmmm, kinda of an open-ended question since you need to share more details, like 1. How is the linksys wifi configured? As a router or as an Access point? If it is in router mode, then do you have a route on your gateway pointing to the subnet behind the wifi router? 2. I (in general) prefer to assign static addresses to my infrastructure (in your case the wifi box. Using DHCP to assign makes it difficult to make sure the routing difficult. 3. If the wifi is acting as an AP, then the issue would be with your NAT and you would need to post your firewall rules here or to freebsd-ipfw mailing list for help. Also, a network diagram is helpful as well. Good luck, Patrick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"