1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/luci-app-openmptcprouter/root/bin/omr-mptcp-intf

6 lines
257 B
Text
Raw Normal View History

2018-06-18 08:56:32 +00:00
#!/bin/sh
2018-07-24 15:08:27 +00:00
multipathip=$(dig +short A multipath-tcp.org | tr -d "\n")
ipset add ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1
2020-02-20 07:49:44 +00:00
curl -s -4 -m 2 --interface $1 http://www.multipath-tcp.org
ipset del ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1