{ "dns": { "hosts": { "domain:googleapis.cn": "googleapis.com" }, "servers": [ "8.8.8.8", { "address": "180.76.76.76", "domains": [ "geosite:cn", "geosite:geolocation-cn" ], "expectIPs": [ "geoip:cn" ], "port": 53 } ] }, "inbounds": [ { "listen": "127.0.0.1", "port": 3080, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "userLevel": 8 }, "sniffing": { "destOverride": [ "http", "tls" ], "enabled": true, "routeOnly": false }, "tag": "socks" }, { "listen": "0.0.0.0", "port": 8119, "protocol": "http", "settings": { "userLevel": 8 }, "tag": "http" } ], "log": { "loglevel": "info" }, "outbounds": [ { "mux": { "concurrency": -1, "enabled": false, "xudpConcurrency": 8, "xudpProxyUDP443": "" }, "protocol": "socks", "settings": { "servers": [ { "address": "127.0.0.1", "level": 8, "method": "chacha20-poly1305", "ota": false, "password": "", "port": 2080 } ] }, "streamSettings": { "network": "tcp", "security": "" }, "tag": "proxy" }, { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "block" }, { "protocol": "dns", "tag": "dns-out" } ], "remarks": "ACL", "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "inboundTag": [ "dns-in" ], "outboundTag": "dns-out" }, { "type": "field", "ip": [ "8.8.8.8" ], "outboundTag": "proxy", "port": "53" }, { "type": "field", "ip": [ "180.76.76.76" ], "outboundTag": "direct", "port": "53" }, { "type": "field", "domain": [ "domain:googleapis.cn", "domain:gstatic.com", "domain:steam-chat.com", "domain:steam-api.com", "domain:steampowered.com", "domain:steamcommunity.com" ], "outboundTag": "proxy" }, { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "direct" }, { "type": "field", "ip": [ "geoip:cn" ], "outboundTag": "direct" }, { "type": "field", "domain": [ "geosite:cn", "domain:epicgames.com", "domain:deepseek.com" ], "outboundTag": "direct" }, { "type": "field", "domain": [ "geosite:geolocation-cn" ], "outboundTag": "direct" }, { "type": "field", "outboundTag": "proxy", "port": "0-65535" } ] } }