mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 10:47:32 +03:00
33 lines
711 B
JSON
33 lines
711 B
JSON
{
|
|
"inbounds": [
|
|
{
|
|
"type": "trusttunnel",
|
|
"tag": "trusttunnel-in",
|
|
"listen": "::",
|
|
"listen_port": 443,
|
|
"network": ["tcp", "udp"],
|
|
"users": [
|
|
{
|
|
"name": "user1",
|
|
"password": "password1"
|
|
}
|
|
],
|
|
"congestion_controller": "bbr", // bbr, bbr_standard, bbr2, bbr2_variant, cubic, reno
|
|
"bbr_profile": "standard", // standard, conservative, aggressive
|
|
"cwnd": 32,
|
|
"tls": {
|
|
"enabled": true,
|
|
"alpn": ["h2", "h3"],
|
|
"certificate_path": "/path/to/cert.pem",
|
|
"key_path": "/path/to/key.pem"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
}
|