mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
Forward Firewall: INPUT Firewall added "ALL" with ip 0.0.0.0
This commit is contained in:
committed by
Michael Tremer
parent
ed9ab82c61
commit
8762442c4e
@@ -224,6 +224,9 @@ sub buildrules
|
||||
if($$hash{$key}[6] eq 'ORANGE'){
|
||||
$targethash{$key}[0]=$defaultNetworks{'ORANGE_ADDRESS'};
|
||||
}
|
||||
if($$hash{$key}[6] eq 'ALL'){
|
||||
$targethash{$key}[0]='0.0.0.0/0';
|
||||
}
|
||||
if($$hash{$key}[6] eq 'RED' || $$hash{$key}[6] eq 'RED1'){
|
||||
open(FILE, "/var/ipfire/red/local-ipaddress") or die 'Unable to open config file.';
|
||||
$targethash{$key}[0]= <FILE>;
|
||||
|
||||
Reference in New Issue
Block a user