Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2006 19:46:05 -0500
From:      "J.D. Bronson" <jbronson@wixb.com>
To:        freebsd-questions@freebsd.org
Cc:        "J.D. Bronson" <jbronson@wixb.com>
Subject:   Re: ipfilter on 6.1
Message-ID:  <7.0.1.0.2.20060826194439.01973050@sixcompanies.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20060826194439.01973050>