mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-08 16:39:03 +00:00
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:
@@ -108,6 +108,7 @@
|
||||
|
||||
**使用步骤**
|
||||
- 在`nps.conf`中设置`p2p_ip`(nps服务器ip)和`p2p_port`(nps服务器udp端口)
|
||||
> 注:若 `p2p_port` 设置为6000,请在防火墙开放6000~6002(额外添加2个端口)udp端口
|
||||
- 在刚才刚才创建的客户端中添加一条p2p代理,并设置唯一密钥p2pssh
|
||||
- 在使用端机器(本机)执行命令
|
||||
|
||||
|
Reference in New Issue
Block a user