mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Better iptables rules for omr-bypass
This commit is contained in:
parent
469830a076
commit
06a28d4227
7 changed files with 50 additions and 59 deletions
|
@ -166,7 +166,6 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ]; then
|
|||
if /etc/init.d/shadowsocks-libev rules_exist ; then
|
||||
/etc/init.d/shadowsocks-libev rules_down
|
||||
/etc/init.d/shadowsocks-libev rules_up
|
||||
/etc/init.d/omr-bypass reload >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -184,7 +183,6 @@ if [ "$OMR_TRACKER_INTERFACE" = "glorytun" ] || [ "$OMR_TRACKER_INTERFACE" = "om
|
|||
if /etc/init.d/shadowsocks-libev rules_exist ; then
|
||||
/etc/init.d/shadowsocks-libev rules_down
|
||||
/etc/init.d/shadowsocks-libev rules_up
|
||||
/etc/init.d/omr-bypass reload >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue