mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
captive portal: exclude portal table in destination (https://github.com/opnsense/core/issues/8564)
This commit is contained in:
parent
7beec43db9
commit
25e5341dd4
@ -120,7 +120,8 @@ function captiveportal_firewall($fw)
|
||||
'protocol' => 'tcp',
|
||||
'from' => "<__captiveportal_zone_{$zoneid}>",
|
||||
'from_not' => true,
|
||||
'to' => 'any',
|
||||
'to' => "<__captiveportal_zone_{$zoneid}>",
|
||||
'to_not' => true,
|
||||
'to_port' => $to_port,
|
||||
'target' => '127.0.0.1',
|
||||
'localport' => $rdr_port,
|
||||
@ -158,7 +159,8 @@ function captiveportal_firewall($fw)
|
||||
'direction' => 'in',
|
||||
'from' => "<__captiveportal_zone_{$zoneid}>",
|
||||
'from_not' => true,
|
||||
'to' => 'any',
|
||||
'to' => "<__captiveportal_zone_{$zoneid}>",
|
||||
'to_not' => true,
|
||||
'descr' => "Default Captive Portal block rule (zone {$zoneid})",
|
||||
'log' => !isset($config['syslog']['nologdefaultblock']),
|
||||
'#ref' => "ui/captiveportal#edit={$uuid}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user