mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 10:47:32 +03:00
79 lines
1.7 KiB
JSON
79 lines
1.7 KiB
JSON
{
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"type": "local",
|
|
"tag": "default"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen_port": 7897
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"type": "trusttunnel",
|
|
"tag": "trusttunnel-h2",
|
|
"server": "example.com",
|
|
"server_port": 443,
|
|
"username": "user1",
|
|
"password": "password1",
|
|
"network": ["tcp", "udp"],
|
|
"health_check": true,
|
|
"multiplex": {
|
|
"enabled": true,
|
|
"max_connections": 8,
|
|
"min_streams": 5
|
|
},
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "example.com"
|
|
}
|
|
// Dial Fields
|
|
},
|
|
{
|
|
"type": "trusttunnel",
|
|
"tag": "trusttunnel-quic",
|
|
"server": "example.com",
|
|
"server_port": 443,
|
|
"username": "user1",
|
|
"password": "password1",
|
|
"network": ["tcp", "udp"],
|
|
"health_check": true,
|
|
"quic": true,
|
|
"congestion_controller": "bbr", // bbr, bbr_standard, bbr2, bbr2_variant, cubic, reno
|
|
"bbr_profile": "standard", // standard, conservative, aggressive
|
|
"cwnd": 32,
|
|
"multiplex": {
|
|
"enabled": true,
|
|
"max_connections": 8,
|
|
"min_streams": 5
|
|
},
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "example.com"
|
|
}
|
|
// Dial Fields
|
|
},
|
|
{
|
|
"type": "selector",
|
|
"tag": "trusttunnel-selector",
|
|
"outbounds": ["trusttunnel-h2", "trusttunnel-quic"],
|
|
"default": "trusttunnel-h2"
|
|
}
|
|
],
|
|
"route": {
|
|
"final": "trusttunnel-selector",
|
|
"default_domain_resolver": "default",
|
|
"auto_detect_interface": true
|
|
}
|
|
}
|