Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 20:31:43 +0200 (CEST)
From:      Pavel =?iso-8859-2?Q?Jord=E1k?= <pavel.jordak@siemens.com>
To:        "gary masigon" <linespectrum_conexion@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: NAT server
Message-ID:  <31317.158.226.252.127.1124821903.squirrel@gw.anfdata.cz>
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 22 Srpen 2005, 15:28, gary masigon napsal(a):
> 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
>

Hi, Gary,

I absolutely don't want start any flame war about ipfw, pf etc.

I would only like to tell you about my private experience:
For times I tried to manage my various NAT/firewall/router setups
with ipfw (it worked nearly every time but I was newer really sure
that I did know, what I had done ;-|. Then, after OpenBSD's pf got to be
adapted for FreeBSD standard kernel, it was all clear for me.

There is an excelent doc about pf, which answers all questions and
gives some good examples:

http://www.openbsd.org/faq/pf/index.html

It is written by OpenBSD folks for OpenBSD but fits for FreeBSD
without changes.

Good luck, Pavel Jordak.





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