mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
firewall: typo
This commit is contained in:
parent
b8858226ed
commit
25e8f92932
@ -270,10 +270,10 @@ function filter_configure_sync($verbose = false, $flush_states = false)
|
||||
foreach(filter_core_get_antilockout() as $lockoutif => $lockoutprts) {
|
||||
foreach ($lockoutprts as $port) {
|
||||
$rule = array(
|
||||
'interface' => $lockoutintf,
|
||||
'interface' => $lockoutif,
|
||||
"nordr" => true,
|
||||
"protocol" => "tcp",
|
||||
'destination' => array('network' => "{$lockoutintf}ip", 'port' => $port),
|
||||
'destination' => array('network' => "{$lockoutif}ip", 'port' => $port),
|
||||
"descr" => "Anti lockout, prevent redirects for protected ports to this interface ip"
|
||||
);
|
||||
$fw->registerForwardRule(300, $rule);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user