mirror of
https://github.com/fscarmen/sing-box.git
synced 2026-08-10 17:55:16 +08:00
- add naive to protocol selection, quick install, and reload flows - generate naive inbound config with username/password authentication - create and refresh 200-day certificates for naive when missing, expired, or SNI changes - export naive nodes for ShadowRocket, V2RayN, Throne, and sing-box clients - replace NekoBox subscription output with Throne-compatible links - include TLS certificate data in Throne subscription links - update client prompts and compatibility notes for naive and Throne v1.3.10 feat: 增加 naive 支持并将 NekoBox 导出切换为 Throne - 将 naive 加入协议选择、极速安装和重载流程 - 生成带用户名 / 密码认证的 naive 入站配置 - 在证书缺失、过期或 SNI 变化时自动生成 / 刷新 200 天证书 - 为 ShadowRocket、V2RayN、Throne 和 sing-box 客户端导出 naive 节点 - 将 NekoBox 订阅输出替换为 Throne 兼容链接 - 在 Throne 订阅链接中附带 TLS 证书数据 - 更新 naive 与 Throne 相关客户端提示和兼容性说明
82 lines
3.1 KiB
Plaintext
82 lines
3.1 KiB
Plaintext
# 使用说明 / Usage:
|
||
# 1. 复制此文件并重命名为 config.conf / Copy this file and rename it to config.conf
|
||
# 2. 根据需要修改配置参数 / Modify the configuration parameters as needed
|
||
# 3. 执行安装命令 / Run the installation command:
|
||
# bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh) -f config.conf
|
||
|
||
# 配置文件说明 / Configuration Description:
|
||
|
||
# 语言选项 / Language option:
|
||
# c 为中文 / c for Chinese
|
||
# e 为英文 / e for English
|
||
LANGUAGE=''
|
||
|
||
# 协议选择 / Protocol selection:
|
||
# a 为全部协议,也可以选择 b-m 的任意组合
|
||
# a for all protocols, or choose any combination from b-m
|
||
# b: VLESS + Reality
|
||
# c: Hysteria2
|
||
# d: Tuic V5
|
||
# e: ShadowTLS
|
||
# f: Shadowsocks
|
||
# g: Trojan
|
||
# h: VMESS + WebSocket
|
||
# i: VLESS + WebSocket + TLS
|
||
# j: VLESS + H2 + Reality
|
||
# k: VLESS + gRPC + Reality
|
||
# l: AnyTLS
|
||
# m: NaiveProxy
|
||
CHOOSE_PROTOCOLS=''
|
||
|
||
# 起始端口号,其他协议会依次递增 / Starting port number, other protocols will increment sequentially
|
||
START_PORT=''
|
||
|
||
# Nginx 端口号,用于 WebSocket 协议 / Nginx port number for WebSocket protocol
|
||
PORT_NGINX=''
|
||
|
||
# 服务器 IP 地址,支持 IPv4 或 IPv6 / Server IP address, supports IPv4 or IPv6
|
||
SERVER_IP=''
|
||
|
||
# CDN 域名,用于优化线路 / CDN domain name for line optimization
|
||
CDN=''
|
||
|
||
# UUID,用于节点识别和认证 / UUID for node identification and authentication
|
||
UUID_CONFIRM=''
|
||
|
||
# 是否启用订阅功能 / Enable subscription function: true or false
|
||
SUBSCRIBE=''
|
||
|
||
# 是否启用 Argo 隧道 / Enable Argo Tunnel: true or false
|
||
# 如果为 true,则使用 Argo Tunnel 回源,固定域名需要填写 ARGO_DOMAIN 与 ARGO_AUTH,临时隧道无需填写
|
||
# If true, use Argo Tunnel for origin connection. For fixed domain, fill in ARGO_DOMAIN and ARGO_AUTH. For temporary tunnel, leave them empty
|
||
# 如果为 false,则需要填写 VMESS_HOST_DOMAIN 和 VLESS_HOST_DOMAIN
|
||
# If false, fill in VMESS_HOST_DOMAIN and VLESS_HOST_DOMAIN
|
||
ARGO=''
|
||
|
||
# VMESS + WebSocket 域名配置,当 ARGO='false' 时必填
|
||
# VMESS + WebSocket domain configuration, required when ARGO='false'
|
||
VMESS_HOST_DOMAIN=''
|
||
|
||
# VLESS + WebSocket + TLS 域名配置,当 ARGO='false' 时必填
|
||
# VLESS + WebSocket + TLS domain configuration, required when ARGO='false'
|
||
VLESS_HOST_DOMAIN=''
|
||
|
||
# Argo 域名设置,当 ARGO='true' 时必填,如果使用临时隧道,则无需填写
|
||
# Argo domain settings, required when ARGO='true'. Leave empty if using temporary tunnel
|
||
ARGO_DOMAIN=''
|
||
|
||
# Argo 认证信息,可以是 Json,Token 和 API 方式,当 ARGO='true' 时必填,如果使用临时隧道,则无需填写
|
||
# Argo authentication information can be provided as JSON, Token, or API credentials. Required when ARGO='true'. Leave empty if using temporary tunnel
|
||
ARGO_AUTH=''
|
||
|
||
# 端口跳跃范围,用于 Hysteria2 协议,格式为 起始端口:结束端口
|
||
# Port hopping range for Hysteria2 protocol, format: start_port:end_port
|
||
PORT_HOPPING_RANGE=''
|
||
|
||
# Reality 的私钥, 留空则随机生成
|
||
# Reality private key. Random generation if left empty
|
||
REALITY_PRIVATE=''
|
||
|
||
# 节点名称,支持 emoji 表情
|
||
# Node name, emoji supported
|
||
NODE_NAME_CONFIRM='' |