Hi all.
After spending some time researching conntrack settings, I have decided to put a .conf file in /etc/sysctl.d/ to load some tuning settings on boot.
Unfortunately it seems that my settings are not being loaded. Is this to be expected?
I have the following in /etc/sysctl.d/tune.conf
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 5
After a reboot, I try sysctl -a | grep net.netfilter.nf_conntrack_tcp_timeout_fin_wait and see that my setting is not set. It is 120 when I expected it to be 5.
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
Is this expected behaviour? To follow on from this, I notice that there is a file named /etc/sysctl.d/pve.conf with the following contents:
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
fs.aio-max-nr = 1048576
It looks as though some of these settings are not being set. Is this intentional?
sysctl -a | grep 'net.bridge'
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
Thanks!
After spending some time researching conntrack settings, I have decided to put a .conf file in /etc/sysctl.d/ to load some tuning settings on boot.
Unfortunately it seems that my settings are not being loaded. Is this to be expected?
I have the following in /etc/sysctl.d/tune.conf
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 5
After a reboot, I try sysctl -a | grep net.netfilter.nf_conntrack_tcp_timeout_fin_wait and see that my setting is not set. It is 120 when I expected it to be 5.
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
Is this expected behaviour? To follow on from this, I notice that there is a file named /etc/sysctl.d/pve.conf with the following contents:
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
fs.aio-max-nr = 1048576
It looks as though some of these settings are not being set. Is this intentional?
sysctl -a | grep 'net.bridge'
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
Thanks!