Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 10:30:38 -0400
From:      Jason Morgan <jwm-freebsd@sentinelchicken.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: NAT server
Message-ID:  <20050822143038.GB1422@sentinelchicken.net>
In-Reply-To: <20050822132842.37868.qmail@web33904.mail.mud.yahoo.com>
References:  <20050822132842.37868.qmail@web33904.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 22, 2005 at 06:28:41AM -0700, gary masigon wrote:
> Hi, i need help to setup my freebsd as a NAT server, i
> cannot ping the external gateway from the client side
> of my FreeBSD server but i can ping the FreeBSD
> server. I followed all the instructions in the hand
> book but i cannot get the client side to connect to
> any www. freebsd server can ping the clients and the
> gateway, i am using a private ip address  of
> 192.168.x.x in my external LANcard because i am behind
> a router and 10.0.0.0 in my int. it is also okay to
> edit the kernel instead of recompilig it to make IPFW
> works. tnx
> 

Remember to compile the kernel with?

options         IPFIREWALL
options         IPDIVERT

gateway_enable=YES in rc.conf?

For testing, you may also want to make sure your firewall is
completely open, especially since I believe the default ipfw script
(if that's what you're using), even if set to 'open', blocks incoming
traffic from 192.168.x.x on the outside interface.

-Jason



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