firewall: Allow all classes of traffic outgoing from orange.

Currently only tcp and udp are allowed but why are not
gre, icmp, etc.?!
This commit is contained in:
Michael Tremer
2010-03-09 22:25:03 +01:00
parent 2f2b526964
commit 139a9b4fa1

View File

@@ -101,8 +101,7 @@ iptables_red() {
# This rule enables a host on ORANGE network to connect to the outside
# (only if we have a red connection)
if [ "$IFACE" != "" ]; then
/sbin/iptables -A REDFORWARD -i $ORANGE_DEV -p tcp -o $IFACE -j ACCEPT
/sbin/iptables -A REDFORWARD -i $ORANGE_DEV -p udp -o $IFACE -j ACCEPT
/sbin/iptables -A REDFORWARD -i $ORANGE_DEV -o $IFACE -j ACCEPT
fi
fi