Services: Captive Portal - regression in https://github.com/opnsense/core/issues/8326 when reflection is enabled.

Captive portal installs redirects, but these should be excluded when calculating reflection rules.

ref: https://forum.opnsense.org/index.php?topic=46775.0
This commit is contained in:
Ad Schellevis 2025-04-10 20:34:32 +02:00
parent 7e838c6d92
commit 25b2716325

View File

@ -124,6 +124,7 @@ function captiveportal_firewall($fw)
'to_port' => $to_port,
'target' => '127.0.0.1',
'localport' => $rdr_port,
'natreflection' => 'disable',
'descr' => "Redirect to Captive Portal (zone {$zoneid})",
'#ref' => "ui/captiveportal#edit={$uuid}"
]