mirror of
https://github.com/xiaoqidun/probe.git
synced 2026-01-29 04:58:46 +08:00
@@ -27,7 +27,7 @@ probe -ip 6
|
|||||||
probe -s5 127.0.0.1:54321
|
probe -s5 127.0.0.1:54321
|
||||||
|
|
||||||
# 使用自定义服务器(STUN协议)
|
# 使用自定义服务器(STUN协议)
|
||||||
probe -s1 stun.voipia.net:3478
|
probe -s1 stun.hot-chilli.net:3478
|
||||||
```
|
```
|
||||||
|
|
||||||
# 授权协议
|
# 授权协议
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ func main() {
|
|||||||
to time.Duration
|
to time.Duration
|
||||||
)
|
)
|
||||||
flag.StringVar(&ip, "ip", "", "协议版本")
|
flag.StringVar(&ip, "ip", "", "协议版本")
|
||||||
flag.StringVar(&s1, "s1", "stun.l.google.com:19302", "主服务器")
|
flag.StringVar(&s1, "s1", "stun.nextcloud.com:3478", "主服务器")
|
||||||
flag.StringVar(&s2, "s2", "", "次服务器")
|
flag.StringVar(&s2, "s2", "", "次服务器")
|
||||||
flag.StringVar(&s5, "s5", "", "代理地址")
|
flag.StringVar(&s5, "s5", "", "代理地址")
|
||||||
flag.DurationVar(&to, "to", 10*time.Second, "超时时间")
|
flag.DurationVar(&to, "to", 10*time.Second, "超时时间")
|
||||||
|
|||||||
Reference in New Issue
Block a user