mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
firewall.cgi: Allow to creating input rules from Orange to another zone.
It was not able to create a firewall rule from the orange network to a different network address of the firewall. ( For example: Orange -> IPFire's green address) These rules always have been handled as FORWARD rules which is totaly wrong. Fixes #12265. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Tested-by: Peter Müller <peter.mueller@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
fc81e493b1
commit
a9611629cc
@@ -247,7 +247,7 @@ if ($fwdfwsettings{'ACTION'} eq 'saverule')
|
||||
$errormessage=$Lang::tr{'fwdfw err same'};
|
||||
}
|
||||
# INPUT part
|
||||
if ($fwdfwsettings{'grp2'} eq 'ipfire' && $fwdfwsettings{$fwdfwsettings{'grp1'}} ne 'ORANGE'){
|
||||
if ($fwdfwsettings{'grp2'} eq 'ipfire') {
|
||||
$fwdfwsettings{'config'}=$configinput;
|
||||
$fwdfwsettings{'chain'} = 'INPUTFW';
|
||||
$maxkey=&General::findhasharraykey(\%configinputfw);
|
||||
|
||||
Reference in New Issue
Block a user