Fixing rfc1918 outbound blocking (I hope)
parent
fb6ecc1baa
commit
790fb9bb0c
|
@ -245,7 +245,7 @@ if [ "$BLOCKTCPPORTS" ] || [ "$BLOCKUDPPORTS" ]; then
|
||||||
# for src in $NATRANGE; do
|
# for src in $NATRANGE; do
|
||||||
# $IPTABLES -A FORWARD -p tcp -s $src --dport $i --syn -j DROP
|
# $IPTABLES -A FORWARD -p tcp -s $src --dport $i --syn -j DROP
|
||||||
# done
|
# done
|
||||||
fi
|
#fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ "$BLOCKUDPPORTS" ]; then
|
if [ "$BLOCKUDPPORTS" ]; then
|
||||||
|
@ -256,7 +256,7 @@ if [ "$BLOCKTCPPORTS" ] || [ "$BLOCKUDPPORTS" ]; then
|
||||||
# for src in $NATRANGE; do
|
# for src in $NATRANGE; do
|
||||||
# $IPTABLES -A FORWARD -p udp -s $src --dport $i -j DROP
|
# $IPTABLES -A FORWARD -p udp -s $src --dport $i -j DROP
|
||||||
# done
|
# done
|
||||||
fi
|
#fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
reset_color
|
reset_color
|
||||||
|
|
Loading…
Reference in New Issue