diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-28 14:32:17 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-28 14:32:17 +0000 |
commit | 8c08408d1309b2664067b3a793d7df3b24d36cf3 (patch) | |
tree | 8e2fc79ef6e6abf66198815e556d6a07a7fe2b1c | |
parent | 7ba8d9947fc1cd4a4f84278b8f8d90d5bec0307e (diff) | |
download | vyatta-cfg-firewall-8c08408d1309b2664067b3a793d7df3b24d36cf3.tar.gz vyatta-cfg-firewall-8c08408d1309b2664067b3a793d7df3b24d36cf3.zip |
vyatta-cfg-firewall: update nfct commands to use the new syntax
Update the nfcft commands to use the new style syntax rather than the
old, following the update of conntrack-tools to 1.4.3.
-rw-r--r-- | scripts/firewall/firewall.init.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/firewall/firewall.init.in b/scripts/firewall/firewall.init.in index 98ed54a..30614bf 100644 --- a/scripts/firewall/firewall.init.in +++ b/scripts/firewall/firewall.init.in @@ -62,9 +62,9 @@ start () { # user space helpers chain, enables helpers using iptables --helper. # FTP, sip and h323 to use this chain later on. iptables -t raw -N VYATTA_CT_HELPER - /usr/sbin/nfct helper add rpc inet tcp - /usr/sbin/nfct helper add rpc inet udp - /usr/sbin/nfct helper add tns inet tcp + /usr/sbin/nfct add helper rpc inet tcp + /usr/sbin/nfct add helper rpc inet udp + /usr/sbin/nfct add helper tns inet tcp iptables -t raw -I VYATTA_CT_HELPER -p tcp --dport 111 -j CT --helper rpc iptables -t raw -I VYATTA_CT_HELPER -p udp --dport 111 -j CT --helper rpc iptables -t raw -I VYATTA_CT_HELPER -p tcp --dport 1521 -j CT --helper tns |