1
0
mirror of https://gitlab.com/shorewall/code.git synced 2025-08-16 11:44:28 +02:00

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 e6ef32ebc2
commit 50362040d7

@ -2340,6 +2340,14 @@ EOF
deletechain shorewall deletechain shorewall
run_stop_exit 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 EOF
if ( have_capability( 'NAT_ENABLED' ) ) { if ( have_capability( 'NAT_ENABLED' ) ) {