From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 08:02:39 2003 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 8210C37B401 for ; Tue, 5 Aug 2003 08:02:39 -0700 (PDT) Received: from relay.webpartner.dk (relay.webpartner.dk [195.184.96.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA7B43FBF for ; Tue, 5 Aug 2003 08:02:38 -0700 (PDT) (envelope-from jvennervald@proventum.net) Received: from proventum.net (unknown [213.150.63.92]) by relay.webpartner.dk (Postfix) with ESMTP id 3A285CA0B2 for ; Tue, 5 Aug 2003 17:02:36 +0200 (CEST) Message-ID: <3F2FC71A.8040104@proventum.net> Date: Tue, 05 Aug 2003 17:02:50 +0200 From: Jacob Vennervald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: NATD and PPP problem 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: Tue, 05 Aug 2003 15:02:39 -0000 Hi I've installed a FreeBSD 4.8 machine, which I wanna use as a NAT/Router/Firewall. I have setup the pppoe connection which works perfectly and then I've tried to setup the machine as a NAT Router by setting the following in the rc.conf: firewall_enable="YES" firewall_type="open" natd_enable="YES" natd_interface="tun0" But when I restart the machine it gives me the following error: "Firewall rules loaded, starting divert daemons: natdnatd: tun0: cannot get interface address" When I log in and type "ifconfig" I can also see that the tun0 interface doesn't exist, but when I turn off the two natd settings in rc.conf and reboot it does exist. Can anybody help? Cheers, Jacob Vennervald