mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
More info and checks in status page
This commit is contained in:
parent
05c4fe5ad0
commit
c3f51af9a2
5 changed files with 89 additions and 21 deletions
5
luci-app-openmptcprouter/root/bin/omr-ip-intf
Executable file
5
luci-app-openmptcprouter/root/bin/omr-ip-intf
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
checkip=$(dig +short A ip.openmptcprouter.com | tr -d "\n")
|
||||
ipset add ss_rules_dst_bypass $checkip
|
||||
curl -s -4 -m 3 --interface $1 http://ip.openmptcprouter.com
|
||||
ipset del ss_rules_dst_bypass $checkip
|
Loading…
Add table
Add a link
Reference in a new issue