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

Fix V2Ray default configuration to use MPTCP

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-22 11:33:48 +01:00
parent d5aaf23938
commit 9b30e900fc

View file

@ -59,6 +59,7 @@ if [ -z "$(uci -q get v2ray.main)" ]; then
set v2ray.omrout.s_socks_user_encryption='none'
set v2ray.omrout.s_socks_user_alter_id='0'
set v2ray.omrout.ss_network='tcp'
set v2ray.omrout.ss_sockopt_mptcp='1'
set v2ray.omrout.ss_security='tls'
set v2ray.omrout.ss_tls_allow_insecure='1'
set v2ray.omrout.ss_tls_disable_system_root='1'
@ -199,7 +200,8 @@ if [ "$(uci -q get v2ray.omrout.s_socks_port)" = "" ]; then
fi
if [ "$(uci -q get v2ray.omrout.ss_sockopt_mptcp)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set v2ray.omr.ss_sockopt_mptcp='1'
set v2ray.omrout.ss_sockopt_mptcp='1'
commit v2ray
EOF
fi