{ "log": { "loglevel": "warning" }, "inbounds": [ { "port": 2004, "listen": "127.0.0.1", "protocol": "trojan", "settings": { "clients": [ { "id": "6ef11447-4783-47b9-9726-0a8da0dd8599", "password": "test" } ], "decryption": "none" }, "streamSettings": { "network": "grpc", "grpcSettings": { "serviceName": "/trojanGrpc" } } } ], "outbounds": [ { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "blocked", "protocol": "blackhole", "settings": {} } ], "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "blocked" } ] } }