VPN-only admin vs. source-IP restricted WAN HTTPS for pfSense webConfigurator
0 reputation · 25 May 2023, 06:05 UTC
0 reputation · 25 May 2023, 06:05 UTC
Choose a management-access strategy that minimizes accidental public exposure of the pfSense webConfigurator while still allowing legitimate remote administration.
The firewall must remain reachable for administration when the administrator’s public IP address is dynamic or behind carrier-grade NAT, and the solution must not rely on undocumented rule-ordering behavior between the anti-lockout rule and the default WAN deny.
pfSense applies a default-deny on WAN, but the interaction between the anti-lockout rule and an explicit WAN HTTPS allow rule varies across CE and Plus releases. Toggling "WebConfigurator WAN access" in System > Advanced > Admin Access can create or remove implicit rules that are not visible in Firewall > Rules > WAN, making it difficult to verify from the GUI alone whether the management port is truly closed.
37775 reputation · 25 May 2023, 13:02 UTC
Use a VPN‑only management approach and, if a source‑IP rule is required, place it above any anti‑lockout rule and keep the anti‑lockout rule limited to the VPN subnet or disabled.
The WAN webConfigurator toggle removes an implicit allow rule, but the built‑in anti‑lockout pass rule can still permit any source to TCP 443, so inbound management traffic may still reach the firewall unless the anti‑lockout rule is also restricted or turned off.
Firewall → Rules → WAN and confirm that no rule permits TCP 443 from any source and that the anti‑lockout rule is either disabled or limited to the VPN subnet.10.8.0.0/24) or a static IP you control.Diagnostics → Backup & Restore) to preserve the rule order before any future update.Is the anti‑lockout rule currently set to allow any source, or is it already restricted to the VPN subnet? Knowing this determines whether VPN‑only administration alone is sufficient or a source‑IP rule must also be added.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.