mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
sync (#452)
This commit is contained in:
commit
469a91ac0a
2 changed files with 6 additions and 6 deletions
|
@ -172,7 +172,7 @@ _check_master() {
|
|||
commit openmptcprouter
|
||||
EOF
|
||||
/etc/init.d/openmptcprouter-vps get_openvpn_key $name >/dev/null 2>/dev/null
|
||||
/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null
|
||||
#/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/v2ray restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/xray restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/glorytun restart >/dev/null 2>/dev/null
|
||||
|
@ -323,7 +323,7 @@ _check_backup() {
|
|||
commit openmptcprouter
|
||||
EOF
|
||||
/etc/init.d/openmptcprouter-vps get_openvpn_key $name >/dev/null 2>/dev/null
|
||||
/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null
|
||||
#/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/v2ray restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/xray restart >/dev/null 2>/dev/null
|
||||
/etc/init.d/glorytun restart >/dev/null 2>/dev/null
|
||||
|
|
|
@ -22,9 +22,9 @@ net.ipv4.tcp_tw_reuse = 1
|
|||
# turn off fast timewait sockets recycling
|
||||
#net.ipv4.tcp_tw_recycle = 0
|
||||
# short FIN timeout
|
||||
#net.ipv4.tcp_fin_timeout = 60
|
||||
#net.ipv4.tcp_fin_timeout = 40
|
||||
# increase max orphans
|
||||
net.ipv4.tcp_max_orphans = 16384
|
||||
net.ipv4.tcp_max_orphans = 32768
|
||||
# short keepalive time
|
||||
#net.ipv4.tcp_keepalive_time = 2400
|
||||
# outbound port range
|
||||
|
@ -32,7 +32,7 @@ net.ipv4.ip_local_port_range = 9999 65000
|
|||
# max SYN backlog
|
||||
net.ipv4.tcp_max_syn_backlog = 10240
|
||||
# max timewait sockets held by system simultaneously
|
||||
net.ipv4.tcp_max_tw_buckets = 10000
|
||||
net.ipv4.tcp_max_tw_buckets = 6000
|
||||
# turn on TCP Fast Open on both client and server side
|
||||
#net.ipv4.tcp_fastopen = 3
|
||||
# TCP receive buffer
|
||||
|
@ -60,4 +60,4 @@ net.ipv4.tcp_ecn = 2
|
|||
#net.ipv4.tcp_dsack = 0
|
||||
#net.ipv4.tcp_fack = 0
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
net.ipv4.route.gc_timeout = 150
|
||||
net.ipv4.route.gc_timeout = 150
|
||||
|
|
Loading…
Reference in a new issue