Enable automatic helper association during 'stop'.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-12 08:42:53 -07:00
parent 50bd1d6398
commit b372163122

View File

@ -2340,6 +2340,14 @@ EOF
deletechain shorewall
run_stop_exit
#
# Enable automatic helper association on kernel 3.5.0 and later
#
if [ -f /proc/sys/net/netfilter/nf_conntrack_helper ]; then
echo 1 > /proc/sys/net/netfilter/nf_conntrack_helper
fi
EOF
if ( have_capability( 'NAT_ENABLED' ) ) {