mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Various fix for IPv6, disable Shadowsocks for IPv6 with ss-redir
This commit is contained in:
parent
0ef3754412
commit
5b10fe3bd5
8 changed files with 58 additions and 15 deletions
|
@ -212,11 +212,11 @@ if [ "$(uci -q get network.wan1.multipath)" = "" ]; then
|
|||
_setup_macvlan wan1
|
||||
_setup_macvlan wan2
|
||||
fi
|
||||
uci -q batch <<-EOF
|
||||
add network route6
|
||||
set network.@route6[-1].interface='lan'
|
||||
set network.@route6[-1].target='::/0'
|
||||
EOF
|
||||
#uci -q batch <<-EOF
|
||||
#add network route6
|
||||
#set network.@route6[-1].interface='lan'
|
||||
#set network.@route6[-1].target='::/0'
|
||||
#EOF
|
||||
fi
|
||||
uci -q commit network
|
||||
rm -f /tmp/luci-indexcache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue