From owner-freebsd-questions@FreeBSD.ORG Wed Jan 19 18:53:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DE5A16A4CE for ; Wed, 19 Jan 2005 18:53:11 +0000 (GMT) Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA0243D55 for ; Wed, 19 Jan 2005 18:53:11 +0000 (GMT) (envelope-from kopno@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:kopno@sdf.lonestar.org [192.94.73.1]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j0JIqinT025617; Wed, 19 Jan 2005 18:52:44 GMT Received: (from kopno@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id j0JIqivp010181; Wed, 19 Jan 2005 18:52:44 GMT Date: Wed, 19 Jan 2005 18:52:44 +0000 From: Kosta Kilim To: Karol Kwiatkowski Message-ID: <20050119185244.GA20692@SDF.LONESTAR.ORG> References: <20050119160627.GB11546@SDF.LONESTAR.ORG> <41EE980C.3010800@orchid.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EE980C.3010800@orchid.homeunix.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: PF and NAT on FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 18:53:11 -0000 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. > 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