problem with IPFILTER
surricani at gmail.com
Wed Dec 22 08:41:36 PST 2004
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!!!!
More information about the freebsd-questions