{ "outbounds": [ {% for item in xray_outbounds %} { "tag": "vless-{{ item.tag }}", "protocol": "vless", "settings": { "vnext": [ { "address": "{{ item.address }}", "port": 443, "users": [ { "id": "{{ xray_id }}", "flow": "xtls-rprx-vision", "encryption": "{{ xray_encryption }}" } ] } ], "domainStrategy": "UseIPv4" }, "streamSettings": { "network": "xhttp", "xhttpSettings": { "path": "{{ xray_xhttp_path }}", "mode": "stream-one" }, "security": "tls", "tlsSettings": { "alpn": [ "h2", "h3" ], "fingerprint": "firefox" }, "sockopt": { "mark": 255 } } }, {% endfor %} { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv4" }, "streamSettings": { "sockopt": { "mark": 255, "interface": "eth1", "tcpFastOpen": true } } }, { "tag": "blocked", "protocol": "blackhole", "settings": { "response": { "type": "none" } } } ] }