1、先到这里查找开放的服务器:
https://fofa.info
查询方式:
查询附近的开放服务器端口,快速精准,但是会漏掉速度最快的服务器。:
body="Tailscale" && body="DERP server" && country="CN" && region="Guangdong" && port="59443"
查找物理距离近的服务器 例如:广东深圳 广州
body="Tailscale" && body="DERP server" && country="CN" && region="Guangdong" && city="SHENZHEN"
body="Tailscale" && body="DERP server" && country="CN" && region="Guangdong" && city="GUANGZHOU"
导出后使用方便,但是需要付费,可以自己逐页复制,然后用豆包提取需要的ip地址信息。
把选中的服务器ip放到一个ip.txt文件中(一行一个ip)
2、使用 nmap查找udp 3478端口响应时间最短的服务器:
nmap -sU -p 3478 -iL ip.txt -n | awk '/Nmap scan report for/{ip=$5} /Host is up/{gsub(/[()]/,"",$4); print ip, $4}' | sort -k2 -n > sorted-ip-time.txt
然后到这里(https://login.tailscale.com/admin/acls/file)
修改相关信息。
---
使用其他服务器,免费导出的额度比较少,大批量导出需要付费。:
https://platform.censys.io
查询字符串: host.services.endpoints.http.body: "Tailscale" and host.services.endpoints.http.body: "DERP server" and host.location.country_code: "CN"
https://www.shodan.io/search?query=http.html%3A%22DERP+server%22+country%3A%22CN%22+city%3A%22Shenzhen%22
查询字符串: http.html:"DERP server" country:"CN" city:"Shenzhen"
https://www.zoomeye.ai/searchResult?q=Y291bnRyeT0iY2hpbmEiICYmIHN1YmRpdmlzaW9ucz0iZ3Vhbmdkb25nIiAmJiBodHRwLmJvZHk9IkRFUlAgc2VydmVyIg%3D%3D
查询字符串: country="china" && subdivisions="guangdong" && http.body="DERP server"