Pages

Sunday, January 13, 2013

IPFilter on NetBSD


Before you start playing with IPFilter you need to enable it first:
ipf -E
This can be done automatically by setting "ipfilter=YES" in /etc/rc.conf and rebooting.

ipf -F <i|o|a>  : will flush the input/output/all rules
ipf -f <filename> : will load the rule from file

Read this pdf:
http://www.cs.utexas.edu/users/vin/Classes/CS395T-Fall03/Readings/ipf-howto.pdf

No comments:

Post a Comment