安装
一键安装
- 使用管理员账户登录面板
- 进入 管理 -> 节点, 复制节点相对应的安装命令

- 如无意外的话, 复制出来的命令和以下类似
bash <(curl -sSL "https://scripts.zeroteam.top/PortForwardGo/install.sh") --api example.com --secret example安装命令
bash <(curl -sSL "https://scripts.zeroteam.top/PortForwardGo/install.sh") --api example.com --secret example参数说明
Api
--api 面板地址示例
--api example.com
--api example.com:443完整示例
bash <(curl -sSL "https://scripts.zeroteam.top/PortForwardGo/install.sh") --api example.com
bash <(curl -sSL "https://scripts.zeroteam.top/PortForwardGo/install.sh") --api example.com:443Secret
--secret 节点密钥示例
--secret exampleListen
此参数可选
--listen 监听IP示例
--listen 127.0.0.1
--listen auto # 自动获取监听 IP 使用
auto可以自动获取多 IP 机器的入口 IP
Proxy
此参数可选
--proxy 代理链接示例
--proxy socks5://127.0.0.1:1080
--proxy socks5://username:[email protected]:1080
--proxy http://example.com
--proxy https://example.com
--proxy ssh://root:[email protected]:22Service
此参数可选
--service 系统服务名称示例
--service PortForwardGoMirror
此参数可选
--mirror 安装源地址示例
--mirror https://pkg.zeroteam.topVersion
此参数可选
--version 指定版本号示例
--version 1.1.6Region
此参数可选
--region 国家/地区代码使用特定地区优化配置
可用选项
CN中国大陆 (不含港澳台)IR伊朗
示例
--region CNRPC
此参数可选
- 使用 gRPC
--rpc google- 使用 gRPC over WebSocket
--rpc websocketDisableExec
此参数可选
--disable-exec禁用 WebSSH / 终端 功能
MachineID
此参数可选
--machine-id generate
--machine-id <UUID>机器标识符, 同节点下标识符不可重复
默认值: 从系统环境指纹生成唯一 UUID
使用 generate 会在安装时使用 uuidgen 生成随机标识符
需要安装
uuid-runtime软件包
Disable IPv4 Report
此参数可选
--disable-ipv4-report禁止上报 IPv4 地址到面板
Disable IPv6 Report
此参数可选
--disable-ipv6-report禁止上报 IPv6 地址到面板
Backup
此参数可选
--backup将机器设置为备用服务器
Offline
此参数可选
--offline离线安装
如果出现 curl: command not found 的错误
- CentOS / Alma Linux / Rocky Linux / Oracle Linux / Fedora / 其他 RHEL 系
yum update -y
yum install curl wget unzip tar gz sudo uuid-runtime -y- Ubuntu / Debian / Armbian
apt-get update -y
apt-get install curl wget unzip tar gz sudo uuid-runtime -y然后再重新执行命令即可