1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2020-08-25 09:21:46 +02:00
parent c1bcff99c6
commit 3627014d77
4 changed files with 144 additions and 101 deletions

View file

@ -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
}