bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sing-box.sh)
PORT=开放的端口 确保后面3个端口可用 CFIP为优选IP或优选域名,CFPORT为优选ip或优选域名对应的端口
PORT=你的端口 CFIP=www.visa.com.tw CFPORT=443 bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sing-box.sh)
curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh
bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sb_serv00.sh)
VMESS_PORT=tcp端口 HY2_PORT=udp端口 TUIC_PORT=udp端口 bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sb_00.sh)
bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/test/sb_00.sh)
VLESS_PORT=TCP端口 ARGO_PORT=TCP端口 bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/test/x00.sh)
PORT=UDP端口 bash <(curl -Ls https://00.2go.us.kg/2.sh)
或
PORT=UDP端口 bash <(curl -Ls https://github.com/eooce/Sing-box/releases/download/00/2.sh)
PORT=UDP端口 bash <(curl -Ls https://00.2go.us.kg/tu.sh)
或
PORT=UDP端口 bash <(curl -Ls https://github.com/eooce/Sing-box/releases/download/00/tu.sh)
PORT=TCP端口 bash <(curl -Ls https://raw.githubusercontent.com/eooce/scripts/master/containers-shell/00_vmess.sh)
变量名 | 是否必须 | 默认值 | 备注 |
---|---|---|---|
PORT | 否 | 3000 | http订阅端口,对应的主运行文件中修改,列如:index.js,app.py中 |
ARGO_PORT | 否 | 8001 | argo隧道端口,固定隧道token需和cloudflare后台设置的一致 |
UUID | 否 | bc97f674-c578-4940-9234-0a1da46041b9 | 节点UUID |
NEZHA_SERVER | 否 | 哪吒服务端域名,例如nz.aaa.com | |
NEZHA_PORT | 否 | 5555 | 哪吒端口为{443,8443,2096,2087,2083,2053}其中之一时,开启tls |
NEZHA_KEY | 否 | 哪吒客户端KEY | |
ARGO_DOMAIN | 否 | argo固定隧道域名,留空即启用临时隧道 | |
ARGO_AUTH | 否 | argo固定隧道json或token,留空即启用临时隧道 | |
CFIP | 否 | skk.moe | 节点优选域名或ip |
CFPORT | 否 | 8443 | 节点端口 |
SERVER_PORT | 否 | 自动获取 | 玩具分配端口,自动获取,无需填写,hy2端口 |
REALITY_PORT | 否 | vless-reality端口,支持多端口的玩具可以填写,不填写该节点不通 | |
TUIC_PORT | 否 | tuic-v5端口,支持多端口的玩具可以填写,不填写该节点不通 |