On Wed, Mar 08, 2006 at 10:29:53AM -0800, Bryan Irvine wrote:
> On 3/7/06, Jim <[EMAIL PROTECTED]> wrote:
> > When my kid gets grounded I block the gameroom computer from getting to the
> > internet.  The script that runs is
> >
> > #!/bin/sh -
> > cp /home/jmays/pf.conf.noGameroom /etc/pf.conf
> > pfctl -F rules -f /etc/pf.conf
> > pfctl -F nat -f /etc/pf.conf
> >
> 
> The script should probably read
> 
> #!/bin/sh -
> cp /home/jmays/pf.conf.noGameroom /etc/pf.conf
> pfctl -F rules -f /etc/pf.conf
> pfctl -F nat -f /etc/pf.
> pfctl -k 192.168.100.130

Loading pf.conf will automatically flush NAT and the rules.

-Ray-

Reply via email to