README: Agent 安装改为注册流程说明
This commit is contained in:
@@ -34,9 +34,12 @@ OpenWrt 上用 procd 常驻,见 `scripts/` 目录。
|
|||||||
|
|
||||||
### Agent(节点机)
|
### Agent(节点机)
|
||||||
|
|
||||||
|
1. 在主控面板「服务器」→「添加设备」,填好节点信息
|
||||||
|
2. 点该设备的「注册」按钮,复制弹出的**一次性注册命令**(token 30 分钟内有效)
|
||||||
|
3. 在节点机上以 root 运行该命令
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fL https://raw.githubusercontent.com/imamoxilin/NexusGate/main/scripts/agent-install.sh) \
|
curl -fsSL https://raw.githubusercontent.com/imamoxilin/NexusGate/main/scripts/agent-install.sh | bash -s -- --server https://主控域名 --token 你的TOKEN
|
||||||
--master http://主控IP:8787 --token 你的TOKEN --name 节点名
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 支持的协议
|
## 支持的协议
|
||||||
|
|||||||
Reference in New Issue
Block a user