Files
fscarmen-sing-box/config.conf
T
2025-03-27 06:02:02 +00:00

76 lines
3.0 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-k 的任意组合
# a for all protocols, or choose any combination from b-k
# 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
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 认证信息,包含账户标签、隧道密钥和隧道ID,当 ARGO='true' 时必填,如果使用临时隧道,则无需填写
# Argo authentication info, including AccountTag, TunnelSecret and TunnelID. 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=''
# 节点名称,支持 emoji 表情 / Node name, emoji supported
NODE_NAME_CONFIRM=''