mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Set to ss-rules as all if multiples ports
This commit is contained in:
parent
d2a8784f01
commit
b1e26d8b49
1 changed files with 4 additions and 1 deletions
|
@ -60,7 +60,10 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||||
EOF
|
EOF
|
||||||
port=$((port+1))
|
port=$((port+1))
|
||||||
done
|
done
|
||||||
uci -q commit shadowsocks-libev
|
uci -q batch <<-EOF > /dev/null
|
||||||
|
set shadowsocks-libev.ss_rules.redir_tcp=all
|
||||||
|
commit shadowsocks-libev
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then
|
if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then
|
||||||
|
|
Loading…
Reference in a new issue