forked from rejetto/hfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentral.json
28 lines (28 loc) · 975 Bytes
/
central.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"dnsServers": ["1.1.1.1", "8.8.8.8"],
"checkServerServices": [
{
"url": "https://ports.yougetsignal.com/check-port.php",
"headers": {"content-type": "application/x-www-form-urlencoded"},
"method": "post",
"selector": "p:nth-child(1)",
"body": "remoteAddress=$IP&portNumber=$PORT",
"regexpFailure": "is closed",
"regexpSuccess": "is open"
},
{
"url": "https://canyouseeme.org/",
"headers": {"content-type": "application/x-www-form-urlencoded"},
"method": "post",
"selector": "div.tool > p:nth-child(1)",
"body": "port=$PORT",
"regexpFailure": "I could not see your service",
"regexpSuccess": "I can see your service"
}
],
"publicIpServices": [
"https://checkip.amazonaws.com",
"https://ipinfo.io/ip",
"https://ifconfig.io/ip"
]
}