Network
pfctl
Manages the Packet Filter (PF) firewall on BSD systems.
FreeBSD
NetBSD
OpenBSD
Verified: 2025-09-09
Syntax
$pfctl [OPTIONS] [COMMANDS]
Examples
$pfctl -s rules
$pfctl -f /etc/pf.conf
$pfctl -e
Typical use cases
?
Standard usage
pfctl --help
Note
BSD-specific firewall management. Especially powerful on OpenBSD.
Export