Ten things to check
Any-any allow rule
Default-allow firewall rule.
<source><any/></source>line 69 of pfsense-insecure.xml (the sample file)Management service reachable from WAN
A pass firewall rule on the WAN interface targets a management port (WebGUI 80/443 or SSH 22), exposing the admin/console surface directly to the untrusted Internet rather than restricting it to a management VLAN or VPN.
In the Admin settings of the export; the reader cites no single line for this check.
WebGUI not forced to HTTPS
HTTP exposes the admin login.
<protocol>http</protocol>line 9 of pfsense-insecure.xml (the sample file)Captive portal without HTTPS
Plaintext credentials.
The setting it reads:
captiveportal httpsloginConsole without password
Console access unrestricted.
The setting it reads:
consolepassSSH password auth permitted
Public-key only is required.
The setting it reads:
sshdkeyonlyWebGUI HTTP_REFERER (anti-CSRF) check disabled
Disabling the HTTP_REFERER check removes pfSense's cross-site request forgery guard on the admin interface, letting a malicious page submit authenticated state-changing requests.
In the Admin settings of the export; the reader cites no single line for this check.
IPsec phase-1 in Aggressive mode
PSK exposure.
In the IPsec settings of the export; the reader cites no single line for this check.
IPsec phase-1 uses weak cipher / hash / DH group
IPsec phase-1 negotiates a broken or legacy primitive — DES/3DES/Blowfish/CAST encryption, MD5/SHA1 hashing, or DH groups 1/2/5 (≤1024-bit MODP) — which are computationally feasible to break or downgrade (e.g.
In the IPsec settings of the export; the reader cites no single line for this check.
No remote syslog target
Logs are local-only.
In the Logging settings of the export; the reader cites no single line for this check.
How to export the file
How long it takes: About 5 minutes.
Diagnostics → Backup & Restore → under Backup Configuration, leave "Backup area" on All, leave "Skip packages" unticked and leave "Skip RRD data" ticked (RRD data is the history behind the graphs: it is not read, and it makes the file much larger)
If "Backup SSH keys" is ticked, untick it, so that the file does not carry the firewall’s Secure Shell (SSH) host keys. Leave "Encryption" unticked: an encrypted file cannot be read
Download configuration as XML → upload the config-<hostname>-<timestamp>.xml your browser saves
Every step, the command-line route, and the errors you may meet: the pfSense export guide.
What the export does not show
- Hit counts, so unused rules are not found
- Alias contents: a rule that uses an alias is not expanded
- Which interfaces Suricata or Snort inspect: it sees that the package is there, no more
- Whether the rules end with a logged deny, and gaps in outbound NAT: not checked yet
- The password length policy and root sign-in over Secure Shell (SSH): config.xml does not hold them
- The pfSense release: config.xml holds the configuration revision, not the software version
- Logs, states and RRD graph data: this is the configuration, not live data
Live sessions, logs and running hosts are not in a configuration export, so no finding comes from them.
The rest of the review
The review runs 45 checks on a pfSense export. All of them, with the part of the export each reads: pfSense firewall audit from the config file. The same items across every firewall: the firewall audit checklist.