{ "log": { "access": "", "error": "", "loglevel": "warning" }, "inbounds": [ { "tag": "socks", "port": 10808, "listen": "0.0.0.0", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "http", "port": 10809, "listen": "0.0.0.0", "protocol": "http", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "api", "port": 10813, "listen": "127.0.0.1", "protocol": "dokodemo-door", "settings": { "udp": false, "address": "127.0.0.1", "allowTransparent": false } } ], "outbounds": [ { "tag": "proxy", "protocol": "shadowsocks", "settings": { "servers": [ { "address": "cdn.hk2.cocoduck.vip", "method": "aes-128-gcm", "ota": false, "password": "NzM0ODliZTA0ZDU0YzBjNDk3ZmFlODhkY2MxNThhOTQ=", "port": 30086, "level": 1 } ] }, "streamSettings": { "network": "tcp" }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } } ], "stats": {}, "api": { "tag": "api", "services": [ "StatsService" ] }, "policy": { "system": { "statsOutboundUplink": true, "statsOutboundDownlink": true } }, "dns": { "hosts": { "dns.google": "8.8.8.8", "proxy.example.com": "127.0.0.1" }, "servers": [ { "address": "223.5.5.5", "domains": [ "geosite:cn", "geosite:geolocation-cn" ], "expectIPs": [ "geoip:cn" ] }, "1.1.1.1", "8.8.8.8", "https://dns.google/dns-query" ] }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api" }, { "type": "field", "outboundTag": "direct", "domain": [ "bing.com" ] }, { "type": "field", "outboundTag": "proxy", "domain": [ "z-lib.io", "z-lib.id", "tenhou.net" ] }, { "type": "field", "outboundTag": "proxy", "domain": [ "https://www.22biqu.com/" ] }, { "type": "field", "outboundTag": "block", "domain": [ "geosite:category-ads-all" ] }, { "type": "field", "outboundTag": "proxy", "domain": [ "geosite:google", "geosite:twitter", "geosite:telegram", "geosite:geolocation-!cn", "geosite:facebook", "geosite:microsoft" ] }, { "type": "field", "outboundTag": "proxy", "domain": [ "https://dt51.dlsnap14.xyz/" ] }, { "type": "field", "port": "0-65535", "outboundTag": "direct" } ] } }