Oops, dont know where my head was when I wrote this
parent
0b6cac8e57
commit
af69ee44bb
|
@ -151,8 +151,8 @@ if [ "$BLOCK_OUTGOING_RFC1918" ]; then
|
|||
for i in $BLOCK_OUTGOING_RFC1918; do
|
||||
display_c BLUE "$i" N
|
||||
for x in $RFC1918_SPACE; do
|
||||
$IPTABLES -A OUTPUT -d $i -s $x -j DROP
|
||||
$IPTABLES -A FORWARD -d $i -s $x -j DROP
|
||||
$IPTABLES -A OUTPUT -o $i -s $x -j DROP
|
||||
$IPTABLES -A FORWARD -o $i -s $x -j DROP
|
||||
done
|
||||
done
|
||||
echo -ne "\n"
|
||||
|
|
Loading…
Reference in New Issue