]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
firewall: Fix amanda helper
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Aug 2015 11:44:26 +0000 (12:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Aug 2015 11:44:26 +0000 (12:44 +0100)
This helper requires setting a layer 4 protocol.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/init.d/firewall

index 978ac499ff3c344c2dd37d3d4bad7fc9f7eb7299..5b193c2c3b9e049112b92e420a0e4c77020ff08c 100644 (file)
@@ -149,7 +149,7 @@ iptables_init() {
        if [ "${CONNTRACK_AMANDA}" = "on" ]; then
                iptables -A CONNTRACK -m conntrack --ctstate RELATED \
                        -m helper --helper amanda -j ACCEPT
-               iptables -t raw -A CONNTRACK -j CT --helper amanda
+               iptables -t raw -A CONNTRACK -p tcp -j CT --helper amanda
        fi
 
        # Fix for braindead ISP's