How can I see the full PF ruleset

From pfSense Documentation
Jump to: navigation, search


I would like to see the firewall rules in their natural command line output, how can I see this?


In the SSH console or Execute Shell Command field in the GUI, run the following:

# Show Firewall Rules:
pfctl -sr
# Show NAT rules
pfctl -sn
# Show all
pfctl -sa

For more verbose output including rule counters, ID numbers, and so on, use:

pfctl -vvsr