Oops, dont know where my head was when I wrote this
parent
af69ee44bb
commit
088d389a7a
|
@ -164,7 +164,7 @@ if [ "$BLOCK_INCOMING_RFC1918" ]; then
|
||||||
for i in $BLOCK_INCOMING_RFC1918; do
|
for i in $BLOCK_INCOMING_RFC1918; do
|
||||||
display_c BLUE "$i" N
|
display_c BLUE "$i" N
|
||||||
for x in $RFC1918_SPACE; do
|
for x in $RFC1918_SPACE; do
|
||||||
$IPTABLES -A OUTPUT -i $i -s $x -j DROP
|
$IPTABLES -A INPUT -i $i -s $x -j DROP
|
||||||
$IPTABLES -A FORWARD -i $i -s $x -j DROP
|
$IPTABLES -A FORWARD -i $i -s $x -j DROP
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue