PF and NAT on FreeBSD 5.3

Kosta Kilim kopno at sdf.lonestar.org
Wed Jan 19 10:53:11 PST 2005


On Wed, Jan 19, 2005 at 06:25:32PM +0100, Karol Kwiatkowski wrote:
> Kosta Kilim wrote:
> > Hello,
> > 
> > I'm trying to setup a PF with NAT for my home network.

<snip>

> pf rules looks OK.
> Wild guess: have you enabled packet forwarding? You can check it with
> sysctl(8):
> 
> # sysctl net.inet.ip.forwarding
> net.inet.ip.forwarding: 1
> 
> To enable this at boot time put gateway_enable="YES" in your /etc/rc.conf
> 
> Also check the handbook (25.2.4 Building a Router chapter):
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html
> 
> > Any hints would be gladly received. Thank you for your time.
> 
> You're welcome (I'm not sure if that helps, though).

That helped, thanks a lot.

I've just read that page a few times in the last few days, but only now 
did it sink in. Thanks again !

Kosta


More information about the freebsd-questions mailing list