Positioning fix for output
parent
088d389a7a
commit
ab4ccedefd
|
@ -149,7 +149,7 @@ fi
|
||||||
if [ "$BLOCK_OUTGOING_RFC1918" ]; then
|
if [ "$BLOCK_OUTGOING_RFC1918" ]; then
|
||||||
display_c YELLOW "Blocking RFC1918 space going out on: " N
|
display_c YELLOW "Blocking RFC1918 space going out on: " N
|
||||||
for i in $BLOCK_OUTGOING_RFC1918; do
|
for i in $BLOCK_OUTGOING_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 -o $i -s $x -j DROP
|
$IPTABLES -A OUTPUT -o $i -s $x -j DROP
|
||||||
$IPTABLES -A FORWARD -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
|
if [ "$BLOCK_INCOMING_RFC1918" ]; then
|
||||||
display_c YELLOW "Blocking RFC1918 space coming in on: " N
|
display_c YELLOW "Blocking RFC1918 space coming in on: " N
|
||||||
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 INPUT -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
|
||||||
|
|
Loading…
Reference in New Issue