firewall: Add amanda to the conntrack helpers

This commit is contained in:
Michael Tremer
2015-05-12 13:25:04 +02:00
parent d57c6162cb
commit a93bf69617
2 changed files with 8 additions and 1 deletions

View File

@@ -126,6 +126,13 @@ iptables_init() {
iptables -t raw -A CONNTRACK -p udp --dport 69 -j CT --helper tftp
fi
# Amanda
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
fi
# Fix for braindead ISP's
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu