From ad0e140fca4e039540961eab8dfcfac24176442e Mon Sep 17 00:00:00 2001 From: Muse Date: Mon, 19 Oct 2026 22:31:31 +0800 Subject: [PATCH] =?UTF-8?q?README:=20Agent=20=E5=AE=89=E8=A3=85=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=B3=A8=E5=86=8C=E6=B5=81=E7=A8=8B=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65f1f7a..e651a61 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,12 @@ OpenWrt 上用 procd 常驻,见 `scripts/` 目录。 ### Agent(节点机) +1. 在主控面板「服务器」→「添加设备」,填好节点信息 +2. 点该设备的「注册」按钮,复制弹出的**一次性注册命令**(token 30 分钟内有效) +3. 在节点机上以 root 运行该命令 + ```bash -bash <(curl -fL https://raw.githubusercontent.com/imamoxilin/NexusGate/main/scripts/agent-install.sh) \ - --master http://主控IP:8787 --token 你的TOKEN --name 节点名 +curl -fsSL https://raw.githubusercontent.com/imamoxilin/NexusGate/main/scripts/agent-install.sh | bash -s -- --server https://主控域名 --token 你的TOKEN ``` ## 支持的协议