mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
More MPTCP over VPN fixes
This commit is contained in:
parent
4e3e03fa43
commit
91811b555a
2 changed files with 7 additions and 3 deletions
|
@ -248,8 +248,11 @@ start_service()
|
|||
commit glorytun-udp
|
||||
EOF
|
||||
fi
|
||||
uci -q set shadowsocks-libev.ss_rules.server='mptcpovervpn'
|
||||
elif ([ "$(uci -q get glorytun.vpn.host)" = "10.255.250.1" ] || [ "$(uci -q get glorytun.vpn.host)" = "10.255.247.1" ]) && [ "$nbintf" != "$nbintfvpn" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set shadowsocks-libev.ss_rules.server='mptcpovervpn'
|
||||
set shadowsocks-libev.ss_rules.redir_tcp='all'
|
||||
EOF
|
||||
elif ([ "$(uci -q get glorytun.vpn.host)" = "10.255.250.1" ] || [ "$(uci -q get glorytun.vpn.host)" = "10.255.247.1" ] || [ "$(uci -q get shadowsocks-libev.ss_rules.server)" != "sss0" ]) && [ "$nbintf" != "$nbintfvpn" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set shadowsocks-libev.sss0.disabled='0'
|
||||
set shadowsocks-libev.ss_rules.server='sss0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue