mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-18 10:39:09 +03:00
97 lines
2.0 KiB
JSON
97 lines
2.0 KiB
JSON
{
|
|
"log":{
|
|
"level":"error"
|
|
},
|
|
"dns":{
|
|
"servers":[
|
|
{
|
|
"address":"local",
|
|
"detour":"direct"
|
|
}
|
|
]
|
|
},
|
|
"inbounds":[
|
|
{
|
|
"type":"mixed",
|
|
"tag":"mixed-in",
|
|
"listen_port":7897
|
|
}
|
|
],
|
|
"outbounds":[
|
|
{
|
|
"type":"direct",
|
|
"tag":"direct"
|
|
},
|
|
{
|
|
"type":"vless",
|
|
"tag":"vless-out",
|
|
"server":"example.com",
|
|
"server_port":443,
|
|
"uuid":"3179dce2-2ff9-413c-85b4-c1d53ed41668",
|
|
"tls":{
|
|
"enabled":true,
|
|
"server_name":"example.com",
|
|
"alpn":[
|
|
"h2" // h3 for QUIC
|
|
]
|
|
},
|
|
"packet_encoding":"",
|
|
"transport":{
|
|
"type":"xhttp",
|
|
"mode":"stream-up",
|
|
"host":"example.com",
|
|
"path":"/xhttp",
|
|
"domain_strategy":"prefer_ipv4",
|
|
"xmux":{
|
|
"max_concurrency":"0-1",
|
|
"max_connections":"0-1",
|
|
"c_max_reuse_times":"0-1",
|
|
"h_max_request_times":"0-1",
|
|
"h_max_reusable_secs":"0-1",
|
|
"h_keep_alive_period":60
|
|
},
|
|
"download":{
|
|
"server":"example.com",
|
|
"server_port":443,
|
|
"host":"example.com",
|
|
"path":"/xhttp",
|
|
"domain_strategy":"prefer_ipv4",
|
|
"detour":"direct",
|
|
"tls":{
|
|
"enabled":true,
|
|
"server_name":"example.com",
|
|
"alpn":[
|
|
"h2" // h3 for QUIC
|
|
]
|
|
},
|
|
"xmux":{
|
|
"max_concurrency":"0-1",
|
|
"max_connections":"0-1",
|
|
"c_max_reuse_times":"0-1",
|
|
"h_max_request_times":"0-1",
|
|
"h_max_reusable_secs":"0-1",
|
|
"h_keep_alive_period":60
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type":"dns",
|
|
"tag":"dns-out"
|
|
}
|
|
],
|
|
"route":{
|
|
"rules":[
|
|
{
|
|
"protocol":"dns",
|
|
"outbound":"dns-out"
|
|
},
|
|
{
|
|
"port":53,
|
|
"outbound":"dns-out"
|
|
}
|
|
],
|
|
"final":"vless-out",
|
|
"auto_detect_interface":true
|
|
}
|
|
} |