Skip to content

VLESS

VLESS is Xray’s primary protocol. It is lightweight with no encryption overhead (relies on transport layer encryption) and supports the most transport and security layer combinations.

Transport Security Description
TCP REALITY Recommended, no domain or certificate required
TCP REALITY + XTLS-Vision Recommended, best performance
TCP TLS Requires domain and certificate
TCP TLS + XTLS-Vision Requires domain and certificate
TCP Encryption (ENC) VLESS’s own encryption, no domain or certificate; not supported by sing-box, Quantumult X or Loon
WebSocket TLS WSS, suitable for CDN relay
gRPC REALITY Suitable for high concurrency
XHTTP REALITY Next-gen transport, replaces H2; see XHTTP nodes and upload / download split
XHTTP TLS Requires domain and certificate
XHTTP None Behind a CDN / nginx that terminates TLS
XHTTP Encryption (ENC) VLESS’s own encryption, no domain or certificate
XHTTP Split REALITY + CDN Upload via CDN, download over direct REALITY

XTLS-Vision is a flow control mode exclusive to VLESS, enabled via flow: xtls-rprx-vision. It reduces TLS-in-TLS characteristics, improving detection resistance. Only supports TCP transport.

In “Nodes → Add Node” with VLESS selected, the transport can be GRPC / TCP / WSS / XHTTP / XHTTP Split (REALITY + CDN), and the security options depend on the transport (REALITY / TLS / XTLS-Vision / XTLS-Vision-REALITY / ENC for TCP; REALITY / TLS / None / ENC for XHTTP). For XHTTP modes, advanced options and the download split, see XHTTP nodes and upload / download split. The default is the recommended TCP + XTLS-Vision-REALITY:

VLESS add node wizard screenshot

VLESS + TCP + XTLS-Vision-REALITY: the REALITY domain is probed for the lowest latency (or entered manually); “Prevent REALITY theft” creates a dedicated tunnel that only allows the serverNames; UUID and flow xtls-rprx-vision are filled in

  • Simple mode: port, UUID and REALITY key pair are generated; just “Submit”
  • Expert mode: edit port, listen address, sniffing, relay address …
  • TLS / WSS combinations need a certificate on the server, otherwise step 1 shows the “SSL configuration” prompt first
  • WSS can also skip the master-managed nginx and go through Cloudflare Tunnel, Cloudflare CDN or Lucky; see WSS nodes behind Cloudflare / Lucky
Section titled “VLESS + TCP + REALITY + Vision (Recommended)”
{
"protocol": "vless",
"settings": {
"clients": [{ "id": "uuid", "flow": "xtls-rprx-vision" }],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"dest": "dl.google.com:443",
"serverNames": ["dl.google.com"],
"privateKey": "...",
"shortIds": [""]
}
}
}