Files
2026-01-14 12:25:20 +08:00

26 lines
697 B
Plaintext

net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.accept_ra=2
#net.core.rmem_default=212992
#net.core.wmem_default=212992
#net.core.rmem_max=212992
#net.core.wmem_max=212992
#net.ipv4.tcp_rmem=4096 131072 6291456
#net.ipv4.tcp_wmem=4096 16384 4194304
#net.ipv4.udp_wmem_min=4096
#net.ipv4.udp_rmem_min=4096
net.core.rmem_default=8388608
net.core.wmem_default=8388608
net.core.rmem_max=8388608
net.core.wmem_max=8388608
net.ipv4.tcp_rmem=409600 13107200 62914560
net.ipv4.tcp_wmem=409600 13107200 62914560
net.ipv4.udp_wmem_min=409600
net.ipv4.udp_rmem_min=409600
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
vm.overcommit_memory = 1
vm.max_map_count=262144