Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 18:52:44 +0000
From:      Kosta Kilim <kopno@sdf.lonestar.org>
To:        Karol Kwiatkowski <freebsd@orchid.homeunix.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PF and NAT on FreeBSD 5.3
Message-ID:  <20050119185244.GA20692@SDF.LONESTAR.ORG>
In-Reply-To: <41EE980C.3010800@orchid.homeunix.org>
References:  <20050119160627.GB11546@SDF.LONESTAR.ORG> <41EE980C.3010800@orchid.homeunix.org>

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



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