{ "log": { "access": "", "error": "", "loglevel": "info" }, "inbounds": [ { "tag": "socks", "port": 800, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "http", "port": 801, "listen": "127.0.0.1", "protocol": "http", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } } ], "outbounds": [ { "tag": "proxy", "protocol": "vless", "settings": { "vnext": [ { "address": "server_address", "port": 50051, "users": [ { "id": "client_id", "alterId": 0, "email": "client_email", "security": "auto", "encryption": "none", "flow": "" } ] } ] }, "streamSettings": { "network": "grpc", "security": "reality", "realitySettings": { "serverName": "www.yahoo.com", "fingerprint": "chrome", "show": false, "publicKey": "public_key", "shortId": "short_id", "spiderX": "" }, "grpcSettings": { "serviceName": "", "multiMode": false, "idle_timeout": 60, "health_check_timeout": 20, "permit_without_stream": false, "initial_windows_size": 0 } }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } } ], "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api", "enabled": true } ] } }