配置Singboxsingbox服务器端协议配置文件格式Tnnd2026-01-062026-01-06reality配置格式123456789101112131415161718192021222324252627{ "type": "vless", "tag": "vless-sb", "listen": "::", "listen_port": port, "users": [ { "uuid": "uuid", "flow": "xtls-rprx-vision" } ], "tls": { "enabled": true, "server_name": "apple.com", "reality": { "enabled": true, "handshake": { "server": "apple.com", "server_port": 443 }, "private_key": "private_key", "short_id": ["short_id"] } }} hy2配置格式12345678910111213141516171819202122{ "type": "hysteria2", "tag": "hy2-sb", "listen": "::", "listen_port": port, "users": [ { "password": "password" } ], "ignore_client_bandwidth":false, "tls": { "enabled": true, "alpn": [ "h3" ], "certificate_path": "/etc/s-box/cert.pem", # 修改证书路径 "key_path": "/etc/s-box/private.key" # 修改私钥路径 }} tuic5配置格式1234567891011121314151617181920212223{ "type":"tuic", "tag": "tuic5-sb", "listen": "::", "listen_port": port, "users": [ { "uuid": "uuid", "password": "uuid" } ], "congestion_control": "bbr", "tls":{ "enabled": true, "alpn": [ "h3" ], "certificate_path": "/etc/s-box/cert.pem", # 修改证书路径 "key_path": "/etc/s-box/private.key" # 修改私钥路径 }} socks5配置格式1234567891011121314{ "type": "socks", "tag": "socks-in", "listen": "::", "listen_port": port, "sniff": true, "sniff_override_destination": true, "users": [ { "username": "user", "password": "password" } ]} ss2022配置格式1234567891011121314{ "type":"shadowsocks", "tag": "ss2022-sb", "listen": "::", "listen_port": port, "method": "2022-blake3-aes-256-gcm", "password": "password", "multiplex": { "enabled": true } } anytles配置格式1234567891011121314151617{ "type":"anytls", "tag":"anytls-sb", "listen":"::", "listen_port":port, "users":[ { "password":"uuid" } ], "padding_scheme":[], "tls":{ "enabled": true, "certificate_path": "/etc/s-box/cert.pem", # 修改证书路径 "key_path": "/etc/s-box/private.key" # 修改私钥路径 } } [up主专用,视频内嵌代码贴在这]