singbox客户端协议配置文件格式

reality配置格式

1
2
3
4
5
6
7
8
9
10
11
12
13
- name: "name"
type: vless
server: ip
port: prot
uuid: "uuid"
tls: true
servername: sni
flow: xtls-rprx-vision
reality-opts:
public-key: "public-key"
short-id: "short-id"
client-fingerprint: chrome
udp: true

vless+ws+tls配置格式

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: "name"
type: vless
server: "domain"
port: 443
uuid: uuid
tls: true
servername:
client-fingerprint: chrome
alpn:
- http/1.1
skip-cert-verify: true
network: ws
ws-opts:
path: "/?ed=2048"
headers:
Host:
udp: true

socks5配置格式

1
2
3
4
5
6
7
8
- name: "name"
dialer-proxy: 链式代理策略组
type: socks5
server: ip
port: port
username: "user"
password: "password"
udp: true

ss2022配置格式

1
2
3
4
5
6
7
8
- name: "name"
dialer-proxy: 链式代理策略组
type: ss
server: ip
port: port
cipher: 2022-blake3-aes-256-gcm
password: "password"
udp: true

anytles配置格式

1
2
3
4
5
6
7
8
- name: name
type: anytls
server: ip
port: port
password: uuid
tls: true
skip-cert-verify: true
udp: true

hy2配置格式

1
2
3
4
5
6
7
8
9
- name: "name"
type: hysteria2
server: ip
port: port
password: "uuid"
up: 50 # 上传速度
down: 350 # 下载速度
sni: www.bing.com # 伪装成访问必应
skip-cert-verify: true # 跳过证书验证

tuic5配置格式

1
2
3
4
5
6
7
8
9
10
- name: "name"
type: tuic
server: ip
port: port
uuid: "uuid"
password: "password"
congestion_control: "bbr" # 可选算法:bbr/cubic/new_reno
udp_relay_mode: "native" # 可选模式:native/quic
skip_cert_verify: true # 跳过证书验证
alpn: ["h3"] # 强制指定ALPN协议
[up主专用,视频内嵌代码贴在这]