Oops, dont know where my head was when I wrote this

master
bbruns 2010-09-29 23:06:56 +00:00
parent 441deb9023
commit 0b6cac8e57
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ if [ "$BLOCK_INCOMING_RFC1918" ]; then
for i in $BLOCK_INCOMING_RFC1918; do
display_c BLUE "$i" N
for x in $RFC1918_SPACE; do
$IPTABLES -A OUTPUT -s $i -s $x -j DROP
$IPTABLES -A FORWARD -s $i -s $x -j DROP
$IPTABLES -A OUTPUT -i $i -s $x -j DROP
$IPTABLES -A FORWARD -i $i -s $x -j DROP
done
done
echo -ne "\n"