{ "api": { "tag": "api", "services": [ "HandlerService", "LoggerService", "StatsService" ] }, "dns": { "servers": [ "1.1.1.1", "8.8.8.8", { "address": "223.5.5.5", "port": 53, "domains": [ "geosite:cn", "ntp.org", "www.dafeisituzi.ml" ] } ] }, "log": { "loglevel": "info" }, "inbounds": [ { "tag": "transparent", "port": 12345, "protocol": "dokodemo-door", "settings": { "network": "tcp,udp", "followRedirect": true }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }, "streamSettings": { "sockopt": { "tproxy": "tproxy" } } }, { "port": 2080, "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }, "settings": { "auth": "noauth" } }, { "tag": "api", "listen": "127.0.0.1", "port": 4333, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" } } ], "outbounds": [ { "tag": "proxy", "protocol": "vmess", "settings": { "vnext": [ { "address": "www.dafeisituzi.ml", "port": 443, "users": [ { "alterId": 64, "id": "bb0f648d-7364-43e4-9056-806b5b181487", "level": 0, "security": "auto" } ] } ] }, "streamSettings": { "network": "ws", "security": "tls", "sockopt": { "mark": 253 }, "wsSettings": { "headers": { "Host": "www.dafeisituzi.ml" }, "path": "/feituzi" } } }, { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "AsIs" }, "streamSettings": { "sockopt": { "mark": 253 } } }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } }, { "tag": "dns-out", "protocol": "dns", "streamSettings": { "sockopt": { "mark": 253 } } } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundUplink": true, "statsInboundDownlink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "inboundTag": [ "transparent" ], "port": 53, "network": "udp", "outboundTag": "dns-out" }, { "type": "field", "inboundTag": [ "transparent" ], "port": 123, "network": "udp", "outboundTag": "direct" }, { "type": "field", "ip": [ "223.5.5.5", "114.114.114.114" ], "outboundTag": "direct" }, { "type": "field", "ip": [ "8.8.8.8", "1.1.1.1" ], "outboundTag": "proxy" }, { "type": "field", "domain": [ "geosite:category-ads-all" ], "outboundTag": "block" }, { "type": "field", "protocol": [ "bittorrent" ], "outboundTag": "direct" }, { "type": "field", "ip": [ "geoip:private", "geoip:cn" ], "outboundTag": "direct" }, { "type": "field", "domain": [ "geosite:cn" ], "outboundTag": "direct" }, { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" } ] }, "stats": {} }