From owner-freebsd-ipfw@FreeBSD.ORG Tue May 8 16:53:14 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E20116A400 for ; Tue, 8 May 2007 16:53:14 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 6D32F13C469 for ; Tue, 8 May 2007 16:53:14 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l48GOXfW064892; Tue, 8 May 2007 12:24:34 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-ipfw@freebsd.org Date: Tue, 8 May 2007 12:21:45 -0400 User-Agent: KMail/1.9.6 References: <853764.71287.qm@web88009.mail.re2.yahoo.com> In-Reply-To: <853764.71287.qm@web88009.mail.re2.yahoo.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705081221.46248.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Gardner Bell Subject: Re: IPFW and NATD problem X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 16:53:14 -0000 On Tuesday 08 May 2007 11:40:58 am Gardner Bell wrote: > Hi all, > > I've been following the IPFW section in the handbook and /etc/rc.firewall > to try and setup a gateway for my home LAN but I'm having a bit of trouble > getting access to the internet. My network setup looks like so. > > 192.168.x.x bge1 - 192.168.x.x bge0 x.x.x.x > --LAN------------Switch---------FreeBSD-------------------------------ISP > > Bge0 successfully receives an IP from my ISP's DHCP server and I can ping > the LAN without any issues. When it comes to accessing the internet I get > a hostname lookup failure. > > Any help resolving this is greatly appreciated. Do you have "gateway_enable=yes" in your /etc/rc.conf? (check the value of the net.inet.ip.forwarding sysctl). What DNS server is your LAN machine trying to use? Can you ping it (or anything else) by IP? JN