Oops, dont know where my head was when I wrote this
parent
441deb9023
commit
0b6cac8e57
|
@ -164,8 +164,8 @@ 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 -s $i -s $x -j DROP
|
$IPTABLES -A OUTPUT -i $i -s $x -j DROP
|
||||||
$IPTABLES -A FORWARD -s $i -s $x -j DROP
|
$IPTABLES -A FORWARD -i $i -s $x -j DROP
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
echo -ne "\n"
|
echo -ne "\n"
|
||||||
|
|
Loading…
Reference in New Issue