diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-09 15:36:40 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-09 15:36:40 +0000 |
commit | cd79b2bc831fc42bbd73067c7770272cf29b946f (patch) | |
tree | 242dac9d4ee3d020927b7a6869685d553c0256bb | |
parent | 8da53af88fd1dc432bd247da95f87f2383160fb0 (diff) | |
download | pfsense-cd79b2bc831fc42bbd73067c7770272cf29b946f.zip pfsense-cd79b2bc831fc42bbd73067c7770272cf29b946f.tar.gz |
If we are an single interface setup we need the anti-lockout rule for wan so correct the parameter to find the right interface.
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 61ba590..2afaf17 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -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" |