forked from extern/shorewall_code
Enable automatic helper association during 'stop'.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e6ef32ebc2
commit
50362040d7
@ -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' ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user