]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Forward Firewall: fixed portforward rules. Now possible even if firewall in mode1
authorAlexander Marx <amarx@ipfire.org>
Wed, 30 Jan 2013 15:28:18 +0000 (16:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:08:16 +0000 (14:08 +0200)
src/initscripts/init.d/firewall

index 8333c4df7dabf30f552396b073c4f84af1830fe2..7453056be0bfba1ecca24e7a674098359b0ce233 100644 (file)
@@ -211,7 +211,7 @@ case "$1" in
        /sbin/iptables -A FORWARD -s 127.0.0.0/8 -m state --state NEW -j DROP
        /sbin/iptables -A FORWARD -d 127.0.0.0/8 -m state --state NEW -j DROP
        /sbin/iptables -A INPUT   -i $GREEN_DEV  -m state --state NEW -j ACCEPT ! -p icmp
-       #/sbin/iptables -A FORWARD -i $GREEN_DEV  -m state --state NEW -j ACCEPT
+       /sbin/iptables -A FORWARD -i $GREEN_DEV  -m state --state NEW -j ACCEPT
 
        # If a host on orange tries to initiate a connection to IPFire's red IP and
        # the connection gets DNATed back through a port forward to a server on orange