From owner-freebsd-questions Thu Mar 15 15:53:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rknebel.uplink.net (rknebel.uplink.net [209.173.88.243]) by hub.freebsd.org (Postfix) with ESMTP id 4C48737B719 for ; Thu, 15 Mar 2001 15:51:42 -0800 (PST) (envelope-from rknebel@uplink.net) Received: from [192.168.1.2] (mac.uplink.net [192.168.1.2]) by rknebel.uplink.net (8.11.1/8.11.1) with ESMTP id f2FNlOO00289; Thu, 15 Mar 2001 18:47:25 -0500 (EST) (envelope-from rknebel@uplink.net) Mime-Version: 1.0 X-Sender: rknebel@rknebel.uplink.net Message-Id: In-Reply-To: <20010315150812.A25939@meow.osd.bsdi.com> References: <20010315150812.A25939@meow.osd.bsdi.com> Date: Thu, 15 Mar 2001 18:39:19 -0500 To: Seth Kingsley From: Rick Knebel Subject: Re: natd and kernelppp Cc: questions@freebsd.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Thu, Mar 15, 2001 at 05:42:03PM -0500, Rick Knebel wrote: >> Is there anyway i can get natd and my firewall script to run after my >> ppp is connected. > >I believe that the functionality you are looking for is in the >/etc/ppp/ip-up script. See the pppd(8) manual page for details. You >would have a line like: > >sh /etc/rc.firewall >natd (natd flags) > >-- >|| Seth Kingsley || BSDi/Open Source Division || sethk@osd.bsdi.com || Hey thanks. I saw that but have one more question. I am sort of new to Freebsd. I put a file ip-up in my /etc/ppp directory and put those two things in it. It did not work. Do i have to make that file executable? Does pppd automatically run this file or do I have to tell it to somehow. Thanks Rick -- Rick Knebel rknebel@uplink.net http://members.tripod.com/~Rick_Knebel/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message