mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix omr-bypass
This commit is contained in:
parent
c1bcff99c6
commit
3627014d77
4 changed files with 144 additions and 101 deletions
|
@ -290,7 +290,7 @@ stop_service() {
|
|||
}
|
||||
|
||||
rules_exist() {
|
||||
[ -n "$(iptables -t nat -L -n | grep ss_rules)" ] && return 0
|
||||
[ -n "$(iptables -t nat -L -n | grep ssr)" ] && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue