{ "log": {}, "inbounds": [ { "port": "1080", "protocol": "socks", "settings": { "auth": "noauth", "udp": true } }, { "port": "1081", "protocol": "http", "settings": {} } ], "outbounds": [ { "protocol": "vless", "settings": { "vnext": [ { "address": "xx.com", "port": 443, "users": [ { "id": "", //fill in your UUID "encryption": "none" } ] } ] }, "streamSettings": { "network": "grpc", "security": "tls", "grpcSettings": { "serviceName": "", //Fill in your ServiceName without any slashes "multiMode": false, //"idle_timeout": 60, //When there is no data transfer for this period of time, a health check will be performed. Might solve some "cut-off" issues。 //"initial_windows_size": 35536 //Prevent Cloudflare CDN from sending unexpected h2 GOAWAY frames to close existing connections when going through Cloudflare CDN. } } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "blocked", "protocol": "blackhole", "settings": {} } ], "routing": { "domainStrategy": "IPOnDemand", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "direct" } ] } }