{ "log": { "loglevel": "warning" }, "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "block" } ] }, "inbounds": [ { "listen": "0.0.0.0", "port": 1234, "protocol": "vmess", "settings": { "clients": [ { "id": "", "alterId": 0 } ], "disableInsecureEncryption": false }, "streamSettings": { "network": "ws", "wsSettings": { "path": "", "headers": { "Host": "example.domain" } }, "security": "tls", "tlsSettings": { "certificates": [ { "certificateFile": "/path/to/certificate.crt", "keyFile": "/path/to/key.key" } ] } } } ], "outbounds": [ { "protocol": "freedom", "tag": "direct" }, { "protocol": "blackhole", "tag": "block" } ] }