Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 12:21:45 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-ipfw@freebsd.org
Cc:        Gardner Bell <gbell72@rogers.com>
Subject:   Re: IPFW and NATD problem
Message-ID:  <200705081221.46248.lists@jnielsen.net>
In-Reply-To: <853764.71287.qm@web88009.mail.re2.yahoo.com>
References:  <853764.71287.qm@web88009.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705081221.46248.lists>