mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
84 lines
1.3 KiB
JSON
84 lines
1.3 KiB
JSON
{
|
|
"log":{
|
|
"level":"error"
|
|
},
|
|
"dns":{
|
|
"servers":[
|
|
{
|
|
"address":"local",
|
|
"detour":"direct"
|
|
}
|
|
]
|
|
},
|
|
"endpoints":[
|
|
{
|
|
"type":"wireguard",
|
|
"tag":"wireguard-out",
|
|
"system":false,
|
|
"name":"",
|
|
"mtu":1408,
|
|
"address":[],
|
|
"private_key":"",
|
|
"listen_port":10000,
|
|
"peers":[
|
|
{
|
|
"address":"example.com",
|
|
"port":10001,
|
|
"public_key":"",
|
|
"pre_shared_key":"",
|
|
"allowed_ips":[],
|
|
"persistent_keepalive_interval":0,
|
|
"reserved":[
|
|
0,
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"udp_timeout":"",
|
|
"workers":0,
|
|
"amnezia":{
|
|
"jc":120,
|
|
"jmin":23,
|
|
"jmax":911,
|
|
"s1":0,
|
|
"s2":0,
|
|
"h1":1,
|
|
"h2":2,
|
|
"h3":3,
|
|
"h4":4
|
|
}
|
|
}
|
|
],
|
|
"inbounds":[
|
|
{
|
|
"type":"mixed",
|
|
"tag":"mixed-in",
|
|
"listen_port":7897
|
|
}
|
|
],
|
|
"outbounds":[
|
|
{
|
|
"type":"direct",
|
|
"tag":"direct"
|
|
},
|
|
{
|
|
"type":"dns",
|
|
"tag":"dns-out"
|
|
}
|
|
],
|
|
"route":{
|
|
"rules":[
|
|
{
|
|
"protocol":"dns",
|
|
"outbound":"dns-out"
|
|
},
|
|
{
|
|
"port":53,
|
|
"outbound":"dns-out"
|
|
}
|
|
],
|
|
"final":"wireguard-out",
|
|
"auto_detect_interface":true
|
|
}
|
|
} |