# rcctl disable pfReboot your system to have it take effect.
You can also manually activate and deactivate PF by using the pfctl(8) program:
# pfctl -e # pfctl -dThese would enable and disable PF. Note that it doesn't actually load a ruleset, however. The ruleset must be loaded separately, either before or after PF is enabled.
The pf.conf
file has multiple parts:
#
are treated
as comments.
# pfctl -f /etc/pf.conf Load the pf.conf file # pfctl -nf /etc/pf.conf Parse the file, but don't load it # pfctl -sr Show the current ruleset # pfctl -ss Show the current state table # pfctl -si Show filter stats and counters # pfctl -sa Show EVERYTHING it can showFor a complete list of commands, please see the man page.