{
“log“: {
“access“: “none“,
“error“: “/tmp/syslog.log“,
“loglevel“: “error“
},
“inbounds“: [
{
“port“: 1088,
“listen“: “0.0.0.0“,
“protocol“: “socks“,
“settings“: {
“auth“: “noauth“,
“udp“: true,
“ip“: “127.0.0.1“
},
“tag“: “local_1088“,
“sniffing“: {
“enabled“: true,
“destOverride“: [
“http“,
“tls“
]
}
},
{
“port“: “1099“,
“listen“: “0.0.0.0“,
“protocol“: “dokodemo-door“,
“settings“: {
“network“: “tcp,udp“,
“timeout“: 30,
“followRedirect“: true
},
“tag“: “redir_1099“,
“sniffing“: {
“enabled“: true,
“destOverride“: [
“http“,
“tls“
]
}
}
],
“outbounds“: [
{
“protocol“: “freedom“,
“settings“: {},
“tag“: “direct“,
“streamSettings“: {
“sockopt“: {
“mark“: 255
}
}
},
{
“protocol“: “vmess“,
“settings“: {
“vnext“: [
{
“address“: “v2.js.hgwc.xyz“,
“port“: 80,
“users“: [
{
“id“: “5c98f4f2-affb-4a00-b382-7be7c9d55c38“,
“security“: “auto“,
“alterId“: 0
}
]
}
]
},
“tag“: “outbound_1“,
“streamSettings“: {
“network“: “ws“,
“security“: “none“,
“tlsSettings“: {
“allowInsecure“: true
},
“xtlsSettings“: {
“allowInsecure“: true
},
“tcpSettings“: {
“header“: {
“type“: “none“,
“request“: {
“path“: [
“/“
],
“headers“: {
“Host“: []
}
}
}
},
“kcpSettings“: {
“header“: {
“type“: “none“
}
},
“wsSettings“: {
“path“: “/“,
“headers“: {
“Host“: “down.dingtalk.com“
}
},
“httpSettings“: {
“host“: [
“v2ray.com“
],
“path“: “/“
},
“dsSettings“: {},
“quicSettings“: {
“security“: “none“,
“key“: ““,
“header“: {
“type“: “none“
}
},
“grpcSettings“: {
“serviceName“: ““
},
“sockopt“: {
“mark“: 255
}
}
},
{
“protocol“: “blackhole“,
“settings“: {},
“tag“: “blocked“,
“streamSettings“: {
“sockopt“: {
“mark“: 255
}
}
},
{
“protocol“: “dns“,
“tag“: “dns_out“
}
],
“dns“: {
“queryStrategy“: “UseIPv4“,
“servers“: [
{
“address“: “8.8.8.8“,
“port“: 53,
“domains“: [
“domain:cn2qq.com“,
“geosite:google“,
“geosite:geolocation-!cn“,
“geosite:facebook“,
“geosite:twitter“,
“geosite:telegram“,
“domain:youtube.com“,
“domain:appspot.com“,
“domain:telegram.com“,
“domain:facebook.com“,
“domain:twitter.com“,
“domain:blogger.com“,
“domain:gmail.com“,
“domain:translate.googleapis.com“,
“domain:gvt1.com“
]
},
{
“address“: “223.5.5.5“,
“port“: 53,
“domains“: [
“geosite:cn“
],
“expectIPs“: [
“geoip:cn“
]
},
“8.8.8.8“,
“8.8.4.4“,
“localhost“
]
},
“routing“: {
“domainStrategy“: “IPIfNonMatch“,
“domainMatcher“: “mph“,
“balancers“: [],
“rules“: [
{
“type“: “field“,
“outboundTag“: “blocked“,
“domains“: [
“geosite:category-ads-all“
]
},
{
“type“: “field“,
“ip“: [
“127.0.0.0/8“,
“::1/128“
],
“outboundTag“: “blocked“
},
{
“type“: “field“,
“ip“: [
“8.8.8.8“,
“8.8.4.4“,
“208.67.222.222“,
“208.67.220.220“,
“1.1.1.1“,
“1.0.0.1“
],
“outboundTag“: “outbound_1“
},
{
“type“: “field“,
“ip“: [
“192.168.0.0/16“,
“172.16.0.0/12“,
“169.254.0.0/16“,
“255.255.255.255/32“,
“geoip:private“,
“100.100.100.100/32“,
“188.188.188.188/32“,
“110.110.110.110/32“
],
“outboundTag“: “direct“
},
{
“type“: “field“,
“inboundTag“: [
“local_1088“
],
“outboundTag“: “outbound_1“
},
{
“type“: “field“,
“domains“: [
“domain:baidu.com“,
“domain:qq.com“,
“domain:taobao.com“,
“geosite:cn“
],
“outboundTag“: “outbound_1“
},
{
“type“: “field“,
“ip“: [
“geoip:cn“
],
“outboundTag“: “outbound_1“
}
]
}
}