cahnge md

This commit is contained in:
刘河
2019-12-13 08:57:00 +08:00
parent cf9644e902
commit c759ceff49
16 changed files with 193 additions and 159 deletions

View File

@@ -1,19 +1,19 @@
# nat类型检测
# 增强功能
## nat类型检测
```
./npc nat
```
如果p2p双方都是Symmetric Nat肯定不能成功其他组合都有较大成功率。
# 状态检查
## 状态检查
```
./npc status -config=npc配置文件路径
```
# 重载配置文件
## 重载配置文件
```
./npc restart -config=npc配置文件路径
```
# 通过代理连接nps
## 通过代理连接nps
有时候运行npc的内网机器无法直接访问外网此时可以可以通过socks5代理连接nps
对于配置文件方式启动,设置
@@ -32,5 +32,5 @@ proxy_url=socks5://111:222@127.0.0.1:8024
或http://username:password@ip:port
# 群晖支持
## 群晖支持
可在releases中下载spk群晖套件例如`npc_x64-6.1_0.19.0-1.spk`