diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index d7b02aa..776debc 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -149,7 +149,7 @@ fi if [ "$BLOCK_OUTGOING_RFC1918" ]; then display_c YELLOW "Blocking RFC1918 space going out on: " N for i in $BLOCK_OUTGOING_RFC1918; do - display_c BLUE "$i" N + display_c BLUE "$i " N for x in $RFC1918_SPACE; do $IPTABLES -A OUTPUT -o $i -s $x -j DROP $IPTABLES -A FORWARD -o $i -s $x -j DROP @@ -162,7 +162,7 @@ fi if [ "$BLOCK_INCOMING_RFC1918" ]; then display_c YELLOW "Blocking RFC1918 space coming in on: " N for i in $BLOCK_INCOMING_RFC1918; do - display_c BLUE "$i" N + display_c BLUE "$i " N for x in $RFC1918_SPACE; do $IPTABLES -A INPUT -i $i -s $x -j DROP $IPTABLES -A FORWARD -i $i -s $x -j DROP