From c4cf196063e002499f0d58158e411896fa5b72fa Mon Sep 17 00:00:00 2001 From: yahya khan <91301277+yahyakhan1999@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:50:37 -0400 Subject: [PATCH] pfctl: add page (#22793) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/freebsd/pfctl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/freebsd/pfctl.md 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`