Reboot your system to have it take effect.# rcctl disable pf
You can also manually activate and deactivate PF by using the pfctl(8) program:
These 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.# pfctl -e # pfctl -d
The pf.conf file has multiple parts:
Blank lines are ignored, and lines beginning with # are treated as comments.
For a complete list of commands, please see the man page.# 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 show