IPF adding single rule

fbsd_user fbsd_user at a1poweruser.com
Fri Jun 24 02:10:24 GMT 2005


ipfstat -ni lists the in core inbound rules with their line number
Say I want to add a single rule before rule line number 17
If I have a file addrule with  17 block in quick on dc0 from any to any
and then issue ipf -f addrule  I get error that 17 is unknown keyword (17)

Is there any way to insert a rule into the in core rules at the desired
location and then later just remove that rule??


More information about the freebsd-questions mailing list