From owner-freebsd-questions Thu Mar 15 15: 8:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id EAC7537B718 for ; Thu, 15 Mar 2001 15:08:38 -0800 (PST) (envelope-from sethk@meow.osd.bsdi.com) Received: (from sethk@localhost) by meow.osd.bsdi.com (8.11.2/8.11.2) id f2FN8C826293; Thu, 15 Mar 2001 15:08:12 -0800 (PST) (envelope-from sethk) Date: Thu, 15 Mar 2001 15:08:12 -0800 From: Seth Kingsley To: Rick Knebel Cc: questions@FreeBSD.ORG Subject: Re: natd and kernelppp Message-ID: <20010315150812.A25939@meow.osd.bsdi.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rknebel@uplink.net on Thu, Mar 15, 2001 at 05:42:03PM -0500 Organization: BSDi X-Operating-System: FreeBSD 4.2-STABLE i386 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 || To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message