1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/luci-app-openmptcprouter/root/bin/omr-mptcp-intf
2018-07-24 17:08:27 +02:00

5 lines
215 B
Bash
Executable file

#!/bin/sh
multipathip=$(dig +short A multipath-tcp.org | tr -d "\n")
ipset add ss_rules_dst_bypass $multipathip
curl -s -4 -m 3 --interface $1 http://www.multipath-tcp.org
ipset del ss_rules_dst_bypass $multipathip