117 lines
2.2 KiB
JSON
117 lines
2.2 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
|
|
"dns": {
|
|
"servers": [
|
|
"1.1.1.1",
|
|
"8.8.8.8",
|
|
"https://dns.google/dns-query"
|
|
]
|
|
},
|
|
|
|
"inbounds": [
|
|
{
|
|
"tag": "socks",
|
|
"port": 10808,
|
|
"listen": "0.0.0.0",
|
|
"protocol": "socks",
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": ["http", "tls"]
|
|
},
|
|
"settings": {
|
|
"auth": "noauth",
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
|
|
"outbounds": [
|
|
{
|
|
"tag": "proxy",
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "s2.sooxy.xyz",
|
|
"port": 8083,
|
|
"users": [
|
|
{
|
|
"id": "6c7db735-1e03-49f5-af1b-07f02ad30eb3",
|
|
"alterId": 0,
|
|
"email": "t@t.tt",
|
|
"security": "auto"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"tcpSettings": {
|
|
"header": {
|
|
"type": "http",
|
|
"request": {
|
|
"version": "1.1",
|
|
"method": "GET",
|
|
"path": ["/"],
|
|
"headers": {
|
|
"Host": ["google.com"],
|
|
"User-Agent": [],
|
|
"Accept-Encoding": ["gzip, deflate"],
|
|
"Connection": ["keep-alive"],
|
|
"Pragma": "no-cache"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mux": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom"
|
|
},
|
|
|
|
{
|
|
"tag": "block",
|
|
"protocol": "blackhole"
|
|
}
|
|
],
|
|
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "proxy",
|
|
"domain": [
|
|
"domain:googleapis.cn",
|
|
"domain:gstatic.com",
|
|
"geosite:geolocation-!cn"
|
|
]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "block",
|
|
"domain": ["geosite:category-ads-all"]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "direct",
|
|
"ip": ["geoip:private"]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "direct",
|
|
"domain": ["geosite:cn"]
|
|
}
|
|
]
|
|
}
|
|
}
|