sing-box README

The project's README from github.com/233boy/sing-box. As one markdown file: README.md.

介绍

最好用的 sing-box 一键安装脚本 & 管理脚本

特点

设计理念

设计理念为:高效率,超快速,极易用

脚本基于作者的自身使用需求,以 多配置同时运行 为核心设计

并且专门优化了,添加、更改、查看、删除、这四项常用功能

你只需要一条命令即可完成 添加、更改、查看、删除、等操作

例如,添加一个配置仅需不到 1 秒!瞬间完成添加!其他操作亦是如此!

脚本的参数非常高效率并且超级易用,请掌握参数的使用

文档

安装及使用:https://233boy.com/sing-box/sing-box-script/

帮助

使用:sing-box help

sing-box script v1.0 by 233boy
Usage: sing-box [options]... [args]...

基本:
   v, version                                      显示当前版本
   ip                                              返回当前主机的 IP
   pbk                                             同等于 sing-box generate reality-keypair
   get-port                                        返回一个可用的端口
   ss2022                                          返回一个可用于 Shadowsocks 2022 的密码

一般:
   a, add [protocol] [args... | auto]              添加配置
   c, change [name] [option] [args... | auto]      更改配置
   d, del [name]                                   删除配置**
   i, info [name]                                  查看配置
   qr [name]                                       二维码信息
   url [name]                                      URL 信息
   log                                             查看日志
更改:
   full [name] [...]                               更改多个参数
   id [name] [uuid | auto]                         更改 UUID
   host [name] [domain]                            更改域名
   port [name] [port | auto]                       更改端口
   path [name] [path | auto]                       更改路径
   passwd [name] [password | auto]                 更改密码
   key [name] [Private key | auto] [Public key]    更改密钥
   method [name] [method | auto]                   更改加密方式
   sni [name] [ ip | domain]                       更改 serverName
   new [name] [...]                                更改协议
   web [name] [domain]                             更改伪装网站

进阶:
   dns [...]                                       设置 DNS
   dd, ddel [name...]                              删除多个配置**
   fix [name]                                      修复一个配置
   fix-all                                         修复全部配置
   fix-caddyfile                                   修复 Caddyfile
   fix-config.json                                 修复 config.json
   import                                          导入 sing-box/v2ray 脚本配置

管理:
   un, uninstall                                   卸载
   u, update [core | sh | caddy] [ver]             更新
   U, update.sh                                    更新脚本
   s, status                                       运行状态
   start, stop, restart [caddy]                    启动, 停止, 重启
   t, test                                         测试运行
   reinstall                                       重装脚本

测试:
   debug [name]                                    显示一些 debug 信息, 仅供参考
   gen [...]                                       同等于 add, 但只显示 JSON 内容, 不创建文件, 测试使用
   no-auto-tls [...]                               同等于 add, 但禁止自动配置 TLS, 可用于 *TLS 相关协议
其他:
   bbr                                             启用 BBR, 如果支持
   bin [...]                                       运行 sing-box 命令, 例如: sing-box bin help
   [...] [...]                                     兼容绝大多数的 sing-box 命令, 例如: sing-box generate uuid
   h, help                                         显示此帮助界面

谨慎使用 del, ddel, 此选项会直接删除配置; 无需确认
反馈问题) https://github.com/233boy/sing-box/issues
文档(doc) https://233boy.com/sing-box/sing-box-script/

sing-box (233boy/sing-box)

trojan
Searching Database…

What is this?This is a one-click install and management script for sing-box, a proxy server program; it automatically sets up the VLESS-REALITY protocol and also supports TUIC, Trojan, Hysteria2, AnyTLS, Shadowsocks 2022 and VMess.
Is this a GUI app or a command-line script?It is a shell script you run on your own Linux server; after installing it gives you a 'sing-box' command compatible with sing-box's own CLI to add, change, view and delete proxy configs.
How do I install and run it?Download and execute the install script on your server; afterwards you manage everything through the 'sing-box' command (e.g. running 'sing-box help' shows the usage).
What do I need before running the script?You need a Linux server you control (root access), since the script configures the server directly and automates TLS setup for you.
Any limitations I should know about?It is purely a command-line management tool for sing-box, not a GUI client, and detailed install steps live in separate linked documentation rather than inline in the README.
Which protocols can I add with one command?VLESS-REALITY (the default), TUIC, Trojan, Hysteria2, AnyTLS, Shadowsocks 2022, VMess over TCP/HTTP/QUIC, and VMess/VLESS/Trojan over WS/H2/HTTPUpgrade with TLS.
How fast is adding a new config?The script is designed around running multiple configs at once and is heavily optimized for add/change/view/delete, so adding one config takes under a second.
Can it tune my server's networking too?Yes, there is a one-click command to enable BBR congestion control to speed up your server's connection.
Can I customize ports, UUIDs or the decoy website?Yes, one-click commands let you change the disguise website, ports, UUID, password, domain, path, encryption method, SNI and more.
Creator
233boy
Size
<0.1 MB
Stars
5.5K
Age
2y
Commits · 90 Days