From owner-freebsd-questions Thu Mar 15 15: 7: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 5619637B718 for ; Thu, 15 Mar 2001 15:06:58 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f2FN5Bi71308; Thu, 15 Mar 2001 18:05:11 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004201c0ada4$1ac14750$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , "Rick Knebel" References: Subject: Re: natd and kernelppp Date: Thu, 15 Mar 2001 18:03:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > i figured out my problem but now have another. > I start ppp by putting pppd in my rc.local on bootup. > The problem I was having was that by activating natd and the firewall from > the rc.conf, it was trying to run before ppp was connected. > > Is there anyway i can get natd and my firewall script to run after my > ppp is connected. Add ppp0 to the list of interfaces in /etc/rc.conf (network_interfaces). Create /etc/start_if.ppp0 containing whatever commands you execute to start pppd. rc.network will initialize the ppp0 interface by calling /etc/start_if.ppp0, which will start pppd *before* natd and ipfw are executed. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message