summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-12-31 09:34:47 +0100
committerDaniil Baturin <daniil@baturin.org>2018-12-31 09:35:25 +0100
commit187ae614769de693291e448da10c7fe2347b5bd6 (patch)
treedd4031e4a396f73766b02b8a12fc8aed28650c8f /templates-cfg/system/conntrack/node.def
parentdfa5383c38a21e6c66426f261cc2f02dc2f720ec (diff)
downloadvyatta-conntrack-187ae614769de693291e448da10c7fe2347b5bd6.tar.gz
vyatta-conntrack-187ae614769de693291e448da10c7fe2347b5bd6.zip
T1141: enable conntrack helper in modprobe options.
Diffstat (limited to 'templates-cfg/system/conntrack/node.def')
-rw-r--r--templates-cfg/system/conntrack/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-cfg/system/conntrack/node.def b/templates-cfg/system/conntrack/node.def
index 0e93b52..acffd98 100644
--- a/templates-cfg/system/conntrack/node.def
+++ b/templates-cfg/system/conntrack/node.def
@@ -13,7 +13,7 @@ delete: # set conntrack table size to standard 262144 entries if conntrack setti
then
sudo sh -c "sed -i -e '/options nf_conntrack hashsize/d' \
/etc/modprobe.d/vyatta_nf_conntrack.conf"
- sudo sh -c "echo options nf_conntrack hashsize=32768 >> \
+ sudo sh -c "echo options nf_conntrack hashsize=32768 nf_conntrack_helper=1 >> \
/etc/modprobe.d/vyatta_nf_conntrack.conf"
echo "Conntrack hash size set to default 32768. This change will take effect when the system is rebooted."
fi