diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-05-20 05:33:06 -0400 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-05-20 05:33:06 -0400 |
commit | 6e46ac599ac8351a72d227ae3b96f6e8ed9452f7 (patch) | |
tree | 863b5ae23786932f74e4fdfba37560047db657a4 /scripts | |
parent | a547effeb79ec1585b7bbbc17354855fffeb086e (diff) | |
download | vyatta-cfg-firewall-6e46ac599ac8351a72d227ae3b96f6e8ed9452f7.tar.gz vyatta-cfg-firewall-6e46ac599ac8351a72d227ae3b96f6e8ed9452f7.zip |
Revert "vyatta-cfg-firewall: update nfct commands to use the new syntax"
Debian jessie version still uses older syntax
This reverts commit 8c08408d1309b2664067b3a793d7df3b24d36cf3.
Diffstat (limited to 'scripts')
-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 30614bf..98ed54a 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 add helper rpc inet tcp - /usr/sbin/nfct add helper rpc inet udp - /usr/sbin/nfct add helper tns inet tcp + /usr/sbin/nfct helper add rpc inet tcp + /usr/sbin/nfct helper add rpc inet udp + /usr/sbin/nfct helper add 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 |