fix #409, support custom stun server

This commit is contained in:
cnlh committed 2020-02-23 01:49:41 +08:00
1 parent f6063e0d6c
commit 77c4a0cea4
2 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
# 增强功能
## nat类型检测
```
./npc nat
./npc nat -stun_addr=stun.stunprotocol.org:3478
```
如果p2p双方都是Symmetric Nat,肯定不能成功,其他组合都有较大成功率。
如果p2p双方都是Symmetric Nat,肯定不能成功,其他组合都有较大成功率。`stun_addr`可以指定stun服务器地址。
## 状态检查
```
./npc status -config=npc配置文件路径