Forward Firewall: /etc/init.d/firewall now creates POLICYIN
authorAlexander Marx <amarx@ipfire.org>
Sun, 3 Mar 2013 04:59:42 +0000 (05:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:11:09 +0000 (14:11 +0200)
src/initscripts/init.d/firewall

index 76325887843e074d0a5b0a15c1557150e760c48f..c51ba35855a1a44ea7d45e2fe5d10fbc0ed19285 100644 (file)
@@ -288,6 +288,8 @@ case "$1" in
        #/sbin/iptables -A FORWARD -j DROP -m comment --comment "DROP_FORWARD"
        
        #POLICY CHAIN
+       /sbin/iptables -N POLICYIN
+       /sbin/iptables -A INPUT -j POLICYIN
        /sbin/iptables -N POLICYFWD
        /sbin/iptables -A FORWARD -j POLICYFWD
        /sbin/iptables -N POLICYOUT