mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Can choose interface for bypass traffic
This commit is contained in:
parent
9598b30c1a
commit
932cb1fa04
3 changed files with 36 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
config defaults
|
||||
|
||||
config bypass 'ips'
|
||||
|
||||
config bypass 'dpi'
|
||||
|
|
|
@ -13,6 +13,12 @@ if [ "$(uci -q get omr-bypass.dpi)" = "" ]; then
|
|||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get omr-bypass.default)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set omr-bypass.defaults=defaults
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get ucitrack.@shadowsocks-libev[-1].affects)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set ucitrack.@shadowsocks-libev[-1].affects=omr-bypass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue