]> git.ipfire.org Git - people/stevee/network.git/blobdiff - functions.firewall-policy
6rd: Change cmdline option to public-ipv4-address.
[people/stevee/network.git] / functions.firewall-policy
index 842fa9fb808a30f222c705b510c0e409423a25be..e7b0cf1abdb9ea42b67db5d3158419ece758ef23 100644 (file)
@@ -62,7 +62,7 @@ function policy_zone_allow_all() {
        local chain="ZONE_${zone^^}_${other_zone^^}_POLICY"
 
        # Just accept all new connections.
-       iptables -A "${chain}" -m state --state NEW -j ACCEPT
+       iptables -A "${chain}" -m conntrack --ctstate NEW -j ACCEPT
 }
 
 function policy_zone_deny_all() {