mirror of
https://github.com/unchainese/unchain.git
synced 2026-04-22 23:37:07 +08:00
101 lines
1.8 KiB
JSON
101 lines
1.8 KiB
JSON
{
|
|
"inbounds": [
|
|
{
|
|
"port": 1088,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"auth": "noauth",
|
|
"udp": true,
|
|
"ip": "127.0.0.1"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "proxy",
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "127.0.0.1",
|
|
"port": 80,
|
|
"users": [
|
|
{
|
|
"id": "6fe57e3f-e618-4873-ba96-a76adec22ccd",
|
|
"encryption": "none"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "ws",
|
|
"wsSettings": {
|
|
"path": "/wsv/v1?ed=2560"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag": "block",
|
|
"protocol": "blackhole",
|
|
"settings": {
|
|
"response": {
|
|
"type": "http"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"routing": {
|
|
"domainStrategy": "IPOnDemand",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "direct",
|
|
"domain": [
|
|
"geosite:cn",
|
|
"geosite:category-ads-all"
|
|
]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "direct",
|
|
"ip": [
|
|
"geoip:cn",
|
|
"geoip:private"
|
|
]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "proxy",
|
|
"network": "tcp,udp"
|
|
}
|
|
]
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"address": "https://1.1.1.1/dns-query",
|
|
"domains": [
|
|
"geosite:geolocation-!cn"
|
|
]
|
|
},
|
|
{
|
|
"address": "223.5.5.5",
|
|
"domains": [
|
|
"geosite:cn"
|
|
],
|
|
"expectIPs": [
|
|
"geoip:cn"
|
|
]
|
|
},
|
|
"8.8.8.8"
|
|
]
|
|
}
|
|
}
|