Vision (XTLS-Vision)
Vision optimizes TLS-in-TLS scenarios by detecting inner TLS traffic and switching to direct mode for zero-copy performance.
Requirements:
- Inner protocol MUST be VLESS
- Works with both TLS and Reality
# TLS + Visionprotocol: type: tls tls_targets: "example.com": cert: cert.pem key: key.pem vision: true alpn_protocols: ["http/1.1"] protocol: type: vless user_id: "uuid"
# Reality + Visionprotocol: type: tls reality_targets: "www.google.com": private_key: "..." short_ids: ["..."] dest: "www.google.com:443" vision: true protocol: type: vless user_id: "uuid"