1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Enable TCP Fast Open on Shadowsocks Rust by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-10-09 11:12:42 +02:00
parent 43107110a5
commit 11681a878f
2 changed files with 4 additions and 2 deletions

View file

@ -120,8 +120,10 @@ if [ -z "$(uci -q get shadowsocks-rust.hi1.keep_alive)" ]; then
uci -q batch <<-EOF > /dev/null
set shadowsocks-rust.hi1.keep_alive=15
set shadowsocks-rust.hi1.no_delay=1
set shadowsocks-rust.hi1.fast_open=1
set shadowsocks-rust.hi2.keep_alive=15
set shadowsocks-rust.hi2.no_delay=1
set shadowsocks-rust.hi2.fast_open=1
commit shadowsocks-rust
EOF
fi

View file

@ -5,7 +5,7 @@ config ss_redir hi1
option mode 'tcp_and_udp'
option timeout '1000'
option keep_alive '15'
option fast_open 0
option fast_open 1
option verbose 0
option syslog 1
option reuse_port 0
@ -20,7 +20,7 @@ config ss_redir hi2
option mode 'tcp_and_udp'
option timeout '1000'
option keep_alive '15'
option fast_open 0
option fast_open 1
option verbose 0
option syslog 1
option reuse_port 0