Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 17:46:45 +0100
From:      "Dott. Surricani" <surricani@gmail.com>
To:        freebsd-ipfw@freebsd.org
Subject:   problem with IPFILTER
Message-ID:  <4591fd910412220846d2c92cd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello everybody.

I've succesfully set up an Inclusive Firewall for my small Lan, how
explained in Chapter 24 of the Handbook,
with IPFILTER and ipnat (Either with kld modules).
I've included in rc.conf the lines neeeded and i've written custom
ipf.rules and ipnat.rules...

It's super, and work great, but I've got a problem/question:

each time I restart the server the rules are cleared and It leave all
packets enter and exit
an I have to type in the shell

ipf -Fa -f /etc/ipf.rules and
ipnat -CF -f /etc/ipnat.rules

It's very boring....

What I can do to automate this task?


Thanks all very much!!!!



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