{ "api": { "services": [ "HandlerService", "LoggerService", "StatsService" ], "tag": "api" }, "inbounds": [ { "listen": "127.0.0.1", "port": 62789, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "sniffing": { "enabled": true, "destOverride": ["http", "tls"] }, "tag": "api" } ], "outbounds": [ { "tag": "ip1", "sendThrough": "158.41.104.111", "protocol": "freedom", "settings": {} }, { "tag": "ip2", "sendThrough": "158.41.104.222", "protocol": "freedom", "settings": {} }, { "tag": "default", "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": ["inbound-20855"], "outboundTag": "ip1", "type": "field" }, { "inboundTag": ["inbound-20856"], "outboundTag": "ip2", "type": "field" }, { "inboundTag": ["api"], "outboundTag": "api", "type": "field" }, { "ip": ["geoip:private"], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": ["bittorrent"], "type": "field" } ] }, "stats": {}, "dns": { "servers": [ "8.8.8.8", { "address": "1.1.1.1", "port": 53, "domains": ["geosite:netflix"] } ] } }