mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Firewall: outgoingconverter fix for ipfire-src
This commit is contained in:
committed by
Michael Tremer
parent
9e244b246b
commit
a43c9b6a64
@@ -427,8 +427,8 @@ sub process_rules
|
||||
$grp1='std_net_src';
|
||||
$source='ORANGE';
|
||||
}elsif ($configline[2] eq 'red') {
|
||||
$grp1='std_net_src';
|
||||
$source='IPFire';
|
||||
$grp1='ipfire_src';
|
||||
$source='RED1';
|
||||
&General::readhash($fwdfwsettings,\%fwdsettings);
|
||||
$fwdsettings{'POLICY1'}=$outsettings{'POLICY'};
|
||||
$fwdsettings{'POLICY'}=$outsettings{'POLICY'};
|
||||
@@ -538,7 +538,7 @@ sub process_rules
|
||||
my $chain;
|
||||
foreach my $protocol (@prot){
|
||||
my $now=localtime;
|
||||
if ($source eq 'IPFire'){
|
||||
if ($source eq 'RED1'){
|
||||
$chain='OUTGOINGFW';
|
||||
}else{
|
||||
$chain='FORWARDFW';
|
||||
|
||||
Reference in New Issue
Block a user