mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Update do VPS script 0.993
This commit is contained in:
parent
616cb5c494
commit
5cd78a9401
8 changed files with 59 additions and 17 deletions
|
@ -20,13 +20,13 @@ net.ipv4.tcp_syncookies = 1
|
|||
# reuse timewait sockets when safe
|
||||
net.ipv4.tcp_tw_reuse = 1
|
||||
# turn off fast timewait sockets recycling
|
||||
net.ipv4.tcp_tw_recycle = 0
|
||||
#net.ipv4.tcp_tw_recycle = 0
|
||||
# short FIN timeout
|
||||
net.ipv4.tcp_fin_timeout = 40
|
||||
net.ipv4.tcp_fin_timeout = 60
|
||||
# short keepalive time
|
||||
net.ipv4.tcp_keepalive_time = 7200
|
||||
# outbound port range
|
||||
net.ipv4.ip_local_port_range = 10000 65000
|
||||
net.ipv4.ip_local_port_range = 9999 65000
|
||||
# max SYN backlog
|
||||
net.ipv4.tcp_max_syn_backlog = 4096
|
||||
# max timewait sockets held by system simultaneously
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue