Update p2p tips (#408)

* Update example.md

新增p2p防火墙端口开放范围

* Update faq.md

* Update faq.md

添加p2p引导

Co-authored-by: ffdfgdfg <heyingtingaaa@gmail.com>
This commit is contained in:
yzy613 2020-02-14 08:42:59 -06:00 committed by GitHub
parent 66133d6cbb
commit acb4e50ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -108,6 +108,7 @@
**使用步骤** **使用步骤**
- 在`nps.conf`中设置`p2p_ip`nps服务器ip`p2p_port`nps服务器udp端口 - 在`nps.conf`中设置`p2p_ip`nps服务器ip`p2p_port`nps服务器udp端口
> 注:若 `p2p_port` 设置为6000请在防火墙开放6000~6002(额外添加2个端口)udp端口
- 在刚才刚才创建的客户端中添加一条p2p代理并设置唯一密钥p2pssh - 在刚才刚才创建的客户端中添加一条p2p代理并设置唯一密钥p2pssh
- 在使用端机器(本机)执行命令 - 在使用端机器(本机)执行命令

View File

@ -14,3 +14,7 @@
``` ```
install 之后Linux 配置文件在 /etc/nps install 之后Linux 配置文件在 /etc/nps
``` ```
- p2p穿透失败 [p2p服务](https://ehang-io.github.io/nps/#/example?id=p2p%e6%9c%8d%e5%8a%a1)
```
双方nat类型都是Symmetric Nat一定不成功建议先查看nat类型。请按照文档操作(标题上有超链接)
```