forked from extern/shorewall_code
Apply 4.4.4.1 changes to master
This commit is contained in:
parent
4aeee6fd8b
commit
6e9d9e239d
@ -322,7 +322,7 @@ sub process_routestopped() {
|
|||||||
|
|
||||||
$seq++;
|
$seq++;
|
||||||
|
|
||||||
my $rule = do_proto( $proto, $ports, $sports, 1 );
|
my $rule = do_proto( $proto, $ports, $sports, 0 );
|
||||||
|
|
||||||
for my $host ( split /,/, $hosts ) {
|
for my $host ( split /,/, $hosts ) {
|
||||||
validate_host $host, 1;
|
validate_host $host, 1;
|
||||||
@ -2316,7 +2316,7 @@ EOF
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for my $interface ( all_bridges ) {
|
for my $interface ( all_bridges ) {
|
||||||
emit "do_iptables -A FORWARD -p 58 " . match_source_interface( $interface ) . match_dest_interface( $interface ) . "-j ACCEPT";
|
emit "do_iptables -A FORWARD -p 58 " . match_source_dev( $interface ) . match_dest_dev( $interface ) . "-j ACCEPT";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $config{IP_FORWARDING} eq 'on' ) {
|
if ( $config{IP_FORWARDING} eq 'on' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user