diff --git a/pages/freebsd/pfctl.md b/pages/freebsd/pfctl.md new file mode 100644 index 0000000000..4017d228d3 --- /dev/null +++ b/pages/freebsd/pfctl.md @@ -0,0 +1,28 @@ +# pfctl + +> Control the packet filter device. +> More information: . + +- Enable the packet filter: + +`sudo pfctl -e` + +- Disable the packet filter: + +`sudo pfctl -d` + +- Load rules from a configuration file: + +`sudo pfctl -f {{path/to/pf.conf}}` + +- Show all active rules: + +`pfctl -sr` + +- Show packet filter status information: + +`pfctl -s info` + +- Flush all rules: + +`sudo pfctl -F rules`