summaryrefslogtreecommitdiff
path: root/scripts/firewall/firewall.init.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/firewall/firewall.init.in')
-rw-r--r--scripts/firewall/firewall.init.in6
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