mirror of
https://github.com/schroinerxy/Sing-box.git
synced 2026-06-22 04:35:49 +08:00
225 lines
5.9 KiB
JSON
225 lines
5.9 KiB
JSON
{
|
|
"log":{
|
|
"access":"/dev/null",
|
|
"error":"/dev/null",
|
|
"loglevel":"none"
|
|
},
|
|
"inbounds":[
|
|
{
|
|
"port":8080,
|
|
"protocol":"vless",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"id":"de04add9-5c68-8bab-870c-08cd5320df07",
|
|
"flow":"xtls-rprx-vision"
|
|
}
|
|
],
|
|
"decryption":"none",
|
|
"fallbacks":[
|
|
{
|
|
"dest":3001
|
|
},
|
|
{
|
|
"path":"/vless",
|
|
"dest":3002
|
|
},
|
|
{
|
|
"path":"/vmess",
|
|
"dest":3003
|
|
},
|
|
{
|
|
"path":"/trojan",
|
|
"dest":3004
|
|
},
|
|
{
|
|
"path":"/shadowsocks",
|
|
"dest":3005
|
|
}
|
|
]
|
|
},
|
|
"streamSettings":{
|
|
"network":"tcp"
|
|
}
|
|
},
|
|
{
|
|
"port":3001,
|
|
"listen":"127.0.0.1",
|
|
"protocol":"vless",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"id":"de04add9-5c68-8bab-870c-08cd5320df07"
|
|
}
|
|
],
|
|
"decryption":"none"
|
|
},
|
|
"streamSettings":{
|
|
"network":"ws",
|
|
"security":"none"
|
|
}
|
|
},
|
|
{
|
|
"port":3002,
|
|
"listen":"127.0.0.1",
|
|
"protocol":"vless",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"id":"de04add9-5c68-8bab-870c-08cd5320df07",
|
|
"level":0
|
|
}
|
|
],
|
|
"decryption":"none"
|
|
},
|
|
"streamSettings":{
|
|
"network":"ws",
|
|
"security":"none",
|
|
"wsSettings":{
|
|
"path":"/vless"
|
|
}
|
|
},
|
|
"sniffing":{
|
|
"enabled":true,
|
|
"destOverride":[
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"metadataOnly":false
|
|
}
|
|
},
|
|
{
|
|
"port":3003,
|
|
"listen":"127.0.0.1",
|
|
"protocol":"vmess",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"id":"de04add9-5c68-8bab-870c-08cd5320df07",
|
|
"alterId":0
|
|
}
|
|
]
|
|
},
|
|
"streamSettings":{
|
|
"network":"ws",
|
|
"wsSettings":{
|
|
"path":"/vmess"
|
|
}
|
|
},
|
|
"sniffing":{
|
|
"enabled":true,
|
|
"destOverride":[
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"metadataOnly":false
|
|
}
|
|
},
|
|
{
|
|
"port":3004,
|
|
"listen":"127.0.0.1",
|
|
"protocol":"trojan",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"password":"de04add9-5c68-8bab-870c-08cd5320df07"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings":{
|
|
"network":"ws",
|
|
"security":"none",
|
|
"wsSettings":{
|
|
"path":"/trojan"
|
|
}
|
|
},
|
|
"sniffing":{
|
|
"enabled":true,
|
|
"destOverride":[
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"metadataOnly":false
|
|
}
|
|
},
|
|
{
|
|
"port":3005,
|
|
"listen":"127.0.0.1",
|
|
"protocol":"shadowsocks",
|
|
"settings":{
|
|
"clients":[
|
|
{
|
|
"method":"chacha20-ietf-poly1305",
|
|
"password":"de04add9-5c68-8bab-870c-08cd5320df07"
|
|
}
|
|
],
|
|
"decryption":"none"
|
|
},
|
|
"streamSettings":{
|
|
"network":"ws",
|
|
"wsSettings":{
|
|
"path":"/shadowsocks"
|
|
}
|
|
},
|
|
"sniffing":{
|
|
"enabled":true,
|
|
"destOverride":[
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"metadataOnly":false
|
|
}
|
|
}
|
|
],
|
|
"dns":{
|
|
"servers":[
|
|
"https+local://8.8.8.8/dns-query"
|
|
]
|
|
},
|
|
"outbounds":[
|
|
{
|
|
"protocol":"freedom"
|
|
},
|
|
{
|
|
"tag":"WARP",
|
|
"protocol":"wireguard",
|
|
"settings":{
|
|
"secretKey":"YFYOAdbw1bKTHlNNi+aEjBM3BO7unuFC5rOkMRAz9XY=",
|
|
"address":[
|
|
"172.16.0.2/32",
|
|
"2606:4700:110:8a36:df92:102a:9602:fa18/128"
|
|
],
|
|
"peers":[
|
|
{
|
|
"publicKey":"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
|
|
"allowedIPs":[
|
|
"0.0.0.0/0",
|
|
"::/0"
|
|
],
|
|
"endpoint":"162.159.193.10:2408"
|
|
}
|
|
],
|
|
"reserved":[78, 135, 76],
|
|
"mtu":1280
|
|
}
|
|
}
|
|
],
|
|
"routing":{
|
|
"domainStrategy":"AsIs",
|
|
"rules":[
|
|
{
|
|
"type":"field",
|
|
"domain":[
|
|
"domain:openai.com",
|
|
"domain:ai.com"
|
|
],
|
|
"outboundTag":"WARP"
|
|
}
|
|
]
|
|
}
|
|
}
|