From owner-freebsd-questions@FreeBSD.ORG Sun Aug 27 00:46:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8625516A4DE for ; Sun, 27 Aug 2006 00:46:08 +0000 (UTC) (envelope-from jbronson@wixb.com) Received: from cheyenne.sixcompanies.com (cheyenne.sixcompanies.com [65.43.82.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42A1943D46 for ; Sun, 27 Aug 2006 00:46:08 +0000 (GMT) (envelope-from jbronson@wixb.com) Message-Id: <7.0.1.0.2.20060826194439.01973050@sixcompanies.com> Date: Sat, 26 Aug 2006 19:46:05 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" In-Reply-To: <20060826221904.GD2666@gothmog.pc> References: <7.0.1.0.2.20060826150124.01982d10@sixcompanies.com> <20060826204015.GI1311@gothmog.pc> <7.0.1.0.2.20060826160530.01982d10@sixcompanies.com> <20060826220706.GC2666@gothmog.pc> <7.0.1.0.2.20060826170941.01982d10@sixcompanies.com> <20060826221904.GD2666@gothmog.pc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: "J.D. Bronson" Subject: Re: ipfilter on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 00:46:08 -0000 Ok guys...now that I have ipfilter working...I need to run a few commands in /etc/ppp/ppp;linkup and cant figure out the syntax... % cat /etc/ppp/ppp.linkup # It is no longer necessary to re-add the default route here as our MYADDR: ! sh -c "/sbin/ipnat -CF -f /etc/ipnat.conf" ! sh -c "/sbin/ipf -F -f /etc/ipf.conf" ! sh -c "/sbin/ipf -Fa -f /etc/ipf.conf" ! sh -c "/sbin/ipf -y" ...I also tried with !bg and that failed to. whats the best way to get these commands to run once my ppp link is up? thanks- -JD