-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathconfig.conf
More file actions
94 lines (73 loc) · 3.78 KB
/
config.conf
File metadata and controls
94 lines (73 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# 使用说明 / 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
HY2_PORT_HOPPING_RANGE=''
# 是否启用 Hysteria2 Realm / Enable Hysteria2 Realm: true or false
# 适用于回国或者没有公网入口的机器;有公网入口时不建议使用
# Useful for China-back routing or machines without public inbound access; not recommended when the server already has a public inbound IP/port
HY2_REALM=''
# 是否启用 Hysteria2 Realm 的 WARP 辅助打洞 / Enable WARP-assisted hole punching for Hysteria2 Realm: true or false
# 适用于 NAT 严格环境,如对称 NAT;设为 true 时会自动启用 HY2_REALM
# Useful for strict NAT environments such as symmetric NAT. Setting this to true automatically enables HY2_REALM
HY2_WARP=''
# Reality 的私钥, 留空则随机生成
# Reality private key. Random generation if left empty
REALITY_PRIVATE=''
# 节点名称,支持 emoji 表情
# Node name, emoji supported
NODE_NAME_CONFIRM=''