pfSense Keyboard Shortcuts

Complete pfSense keyboard shortcuts and commands reference — 13 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.

pfSense is managed from its web UI, but two lower layers matter when the UI is unreachable or a change must be scripted: the console menu you see on the physical or serial console, and the pfctl commands that talk to the packet filter underneath. The table lists both; the notes explain which pfctl commands are safe and which one can leave the firewall wide open.

CLI Commands (9)

ShortcutActionDescription
pfctl -srShow rulesShow current firewall rules.
pfctl -ssConnection stateShow active connection state.
pfctl -dDisable firewallDisable packet filtering.
pfctl -eEnable firewallEnable packet filtering.
pfctl -f /etc/pf.confReload rulesReload firewall rules.
pfctl -snShow NAT rulesDisplay currently loaded NAT rules.
pfctl -siFilter statsShow packet filter statistics and counters.
pfctl -k [host]Kill statesKill all states for a specific host.
pfSsh.phpPHP shellOpen the pfSense developer PHP shell.

Console Menu (4)

ShortcutActionDescription
Option 1Assign interfacesRe-assign WAN/LAN network interfaces from the console.
Option 2Set interface IPConfigure an interface IP address from the console.
Option 5RebootReboot the firewall from the console menu.
Option 8ShellDrop to a root shell from the console menu.
📜 Source: Netgate pfSense documentation — Console menu and pfctl. Console options and pfctl usage from the Netgate pfSense documentation for the current release. Checked 2026-09-05. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful pfSense keyboard shortcuts?

The most essential pfSense shortcuts are: pfctl -sr (Show rules), pfctl -ss (Connection state), pfctl -d (Disable firewall).

How do I use pfSense commands?

These are command-line commands — type them in your terminal or console. Combine them with shell history search (Ctrl + R) and aliases to work even faster.

What is the pfSense shortcut for show rules?

The pfSense shortcut for show rules is pfctl -sr. Show current firewall rules.

Can I combine pfSense shortcuts with other tools?

Yes — use My Stack to combine pfSense shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Related Shortcut Pages

nvidia-smi (GPU) Cisco IOS systemctl / systemd IBM Spectrum Scale / ESS Juniper JunOS ipmitool

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

The console menu

The numbered menu appears on the console after boot. Option 1 assigns interfaces — the first step on new hardware, and the fix when a NIC change leaves WAN and LAN swapped — and Option 2 sets an interface's IP address and can enable DHCP on the LAN, which is how you regain web access after locking yourself out with a bad address. Option 5 reboots and Option 8 drops to a FreeBSD shell where pfctl and the rest live.

Reading the filter

pfctl -sr prints the active rule set as pf sees it, which is what to compare against the UI when a rule "should" match. pfctl -sn shows NAT rules and pfctl -ss the state table — every tracked connection — and pfctl -si prints filter statistics and counters. pfctl -k [host] kills the states for a host, which forces existing connections to be re-evaluated after a rule change without restarting anything.

Disabling and reloading

pfctl -d disables packet filtering entirely: traffic passes with no rules and no NAT, which is occasionally the fastest way to prove whether the firewall is the problem, and always the wrong state to leave a machine in. pfctl -e re-enables it. pfctl -f /etc/pf.conf reloads the rules from the file pfSense generates; editing that file by hand is overwritten on the next UI change, so make persistent changes in the UI or through pfSsh.php, the PHP shell that scripts configuration the same way the UI does.

🤖 Ask AI about pfSense shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok