mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Move enabling nf_conntrack_acct where it should be.
This commit is contained in:
@@ -28,3 +28,6 @@ vm.min_free_kbytes = 8192
|
||||
# Disable IPv6 by default.
|
||||
net.ipv6.conf.all.disable_ipv6 = 1
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
|
||||
# Enable netfilter accounting
|
||||
net.netfilter.nf_conntrack_acct=1
|
||||
|
||||
@@ -28,9 +28,6 @@ init_networking() {
|
||||
(exit ${failed})
|
||||
evaluate_retval
|
||||
|
||||
# Enable netfilter accounting
|
||||
sysctl net.netfilter.nf_conntrack_acct=1 > /dev/null
|
||||
|
||||
if [ -e /var/ipfire/main/disable_nf_sip ]; then
|
||||
rmmod nf_nat_sip
|
||||
rmmod nf_conntrack_sip
|
||||
|
||||
Reference in New Issue
Block a user