mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
(filter) skip anti lockout wan rule when only lan is connected
This commit is contained in:
parent
aa0bee2f09
commit
e19f628518
@ -3181,7 +3181,7 @@ EOD;
|
||||
pass in {$log['pass']} quick on {$lanif} proto tcp from any to ({$lanif}) port { {$alports} } keep state label "anti-lockout rule"
|
||||
|
||||
EOD;
|
||||
} else if (count($config['interfaces']) == 1) {
|
||||
} elseif (count($config['interfaces']) == 1 && !empty($FilterIflist['wan']['if'])) {
|
||||
/* single-interface deployment, add to WAN */
|
||||
$wanif = $FilterIflist["wan"]['if'];
|
||||
$ipfrules .= <<<EOD
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user