mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
If we are an single interface setup we need the anti-lockout rule for wan so correct the parameter to find the right interface.
This commit is contained in:
parent
8da53af88f
commit
cd79b2bc83
@ -2228,7 +2228,7 @@ pass in quick on {$lanif} from any to ({$lanif}) keep state label "anti-lockout
|
||||
EOD;
|
||||
} else {
|
||||
/* single-interface deployment, add to WAN */
|
||||
$wanif = get_real_wan_interface("lan");
|
||||
$wanif = get_real_wan_interface("wan");
|
||||
$ipfrules .= <<<EOD
|
||||
# make sure the user cannot lock himself out of the webConfigurator or SSH
|
||||
anchor "anti-lockout"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user