1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00

Increase nf_contrack_max and nf_conntrack_buckets values

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-08-31 07:21:36 +00:00
parent 73cecfb6f9
commit 0ad22072a7

View file

@ -50,7 +50,8 @@ net.ipv4.tcp_mtu_probing = 0
net.ipv4.tcp_congestion_control = cubic
net.core.default_qdisc = fq
# Default conntrack is too small
net.netfilter.nf_conntrack_max = 131072
net.netfilter.nf_conntrack_max = 524288
net.netfilter.nf_conntrack_buckets=131072
net.netfilter.nf_conntrack_tcp_timeout_established = 86400
net.ipv4.conf.all.log_martians = 0