mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
Firewall: delete -i red0 from DNAT rules
This commit is contained in:
committed by
Michael Tremer
parent
ec56a5393f
commit
97bf45e516
@@ -302,7 +302,7 @@ sub buildrules
|
||||
}
|
||||
}
|
||||
}
|
||||
print "iptables --wait -A FORWARDFW $PROT -i $con $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n";
|
||||
print "iptables --wait -A FORWARDFW $PROT $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n";
|
||||
next;
|
||||
#PROCESS SNAT RULE
|
||||
}elsif($$hash{$key}[28] eq 'ON' && $$hash{$key}[31] eq 'snat'){
|
||||
@@ -386,7 +386,7 @@ sub buildrules
|
||||
}
|
||||
}
|
||||
}
|
||||
system "iptables --wait -A FORWARDFW $PROT -i $con $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n";
|
||||
system "iptables --wait -A FORWARDFW $PROT $STAG $sourcehash{$a}[0] -d $ip $fwaccessdport $TIME -j $$hash{$key}[0]\n";
|
||||
next;
|
||||
#PROCESS SNAT RULE
|
||||
}elsif($$hash{$key}[28] eq 'ON' && $$hash{$key}[31] eq 'snat'){
|
||||
|
||||
Reference in New Issue
Block a user