On this page
Facts
What it is
Proxy protocol for TCP and UDP traffic
Since, by
2020, RPRX in V2Ray; developed in Xray since late 2020
Transport
TCP (RAW), XHTTP, gRPC, WebSocket, HTTPUpgrade, mKCP
Encryption
None by itself; TLS or Reality; optional VLESS Encryption
To the network it looks like
With TLS or Reality, an HTTPS connection to a website
Usual port
Any; 443 is the usual choice
Comes as
vless:// link, subscription, Xray or sing-box JSON
License
Xray-core: MPL-2.0
Latest release
Xray-core v26.11.9, November 9, 2026
In Veli
Windows, macOS, Linux, Android · link
Own server from the app
Yes
Versions and history
- 2020
Proposed and added to V2Ray
In June 2020 RPRX proposed a simple protocol that leaves security to TLS, as VMess over bare TCP was no longer trusted (V2Ray issue 2526). It shipped as VLESS PREVIEW in v2ray-core v4.27.0 in August.
- Nov 2020
Xray-core 1.0
Project X released Xray-core 1.0, a heavily changed fork of v2ray-core, on November 25, 2020. VLESS has been developed there since.
- Oct 2022
XTLS Vision
Xray 1.6.2 was the first release with the
xtls-rprx-visionflow, which pads the inner TLS handshake and stops encrypting TLS twice. Xray 1.8.0 in March 2023 updated its padding. - Mar 2023
REALITY
Xray 1.8.0 (March 9, 2023) brought REALITY: the TLS handshake of a real third-party site, with no domain or certificate of your own. The link fields
pbk,sidandspxfollowed on March 19. - 2024
SplitHTTP becomes XHTTP
A new HTTP transport arrived as SplitHTTP in Xray 1.8.16 (June 2024) and became XHTTP in v24.10.31. Xray version numbers are release dates since September 2024.
- Sep 2025
VLESS Encryption
Merged on August 28, 2025 as PR 5067 and released in Xray v25.9.5: an optional ML-KEM-768 and X25519 handshake with 0-RTT, set by the
mlkem768x25519plusstring.
How VLESS works
The client sends a request header: one byte of protocol version, the 16-byte UUID, a small block of add-ons where the flow setting travels, a command byte (0x01 TCP, 0x02 UDP, 0x03 Mux), the port and the destination address. The server answers with a version byte and its own add-ons, and then the bytes go through unchanged. That is the whole protocol.
The UUID is the login and the password at once: the server lets in only the IDs on its list. There is no clock check as in VMess, and no encryption: with security=none the header crosses the network in clear text, UUID and destination included.
Protection against probing comes from the layer around VLESS too. Over TLS, Xray's fallbacks hand any connection that fails the VLESS check (a first packet shorter than 18 bytes, a wrong version or an unknown UUID) to an ordinary web server, so a stranger sees a website. Reality does the same with someone else's real site.
Transport and security: what goes around VLESS
A VLESS server is described by three choices: the transport, the security layer and the flow. In a link they are type, security and flow. VLESS itself stays the same, and what a network sees depends on the first two.
noneWhat it givesNo protection: the header and the data can be read on the way
What it needsOnly for tests or inside another encrypted layer
tlsWhat it givesOrdinary TLS, as on any HTTPS site; with ws, gRPC, HTTPUpgrade or XHTTP it can sit behind a CDN
What it needsA domain and a certificate; the name goes into
snirealityWhat it givesThe TLS handshake of a real third-party site; whoever probes the server sees that site
What it needsThe server's public key (
pbk) and a short ID (sid); RAW, XHTTP or gRPC only, no CDN
tcporraw— a bare TCP stream; Xray renamed it RAW and links carry either word. The transport of Vision with TLS or Reality.xhttp— Xray's HTTP transport, called SplitHTTP until October 2024. Upload and download can go as separate requests; works with TLS, Reality and CDNs. sing-box doesn't have it, mihomo does.grpc,ws,httpupgrade— gRPC, WebSocket and its lighter relative, the usual ways through a CDN. Current Xray still runs them but marks them deprecated in favour of XHTTP.kcp— mKCP over UDP. Rare, and missing from sing-box.httpandquic— old HTTP/2 and QUIC transports that Xray has removed; sing-box still opens them.
The Vision flow
Inside a proxy most traffic is already TLS: the HTTPS sites you open. Through a TLS proxy that makes TLS inside TLS, and the sizes and order of the inner handshake packets form a pattern a filter can learn. The xtls-rprx-vision flow pads the first packets of each connection, and once the inner TLS 1.3 session is up, Xray passes its already encrypted bytes on directly instead of encrypting them twice.
Vision needs RAW with TLS or Reality, or VLESS Encryption on any transport, and the flow must match the server's user entry. Plain Vision blocks UDP to port 443, so browsers fall back from QUIC to HTTPS over TCP; xtls-rprx-vision-udp443 lets QUIC through for programs that need it.
VLESS Encryption: the mlkem768x25519plus string
Since Xray v25.9.5 VLESS can encrypt by itself, with no TLS or Reality underneath. The handshake is a hybrid post-quantum key exchange, ML-KEM-768 plus X25519, with forward secrecy; the server is authenticated by an X25519 or ML-KEM-768 key, and later connections can reuse a ticket for 0-RTT. The setting is one string of blocks joined by dots: decryption on the server, encryption on the client; xray vlessenc prints a matching pair. The keys below are made up.
{
"decryption": "mlkem768x25519plus.native.600s.C326iHemCwae7gqLpxZ-ebII59KPG0RZQ4XJijcBvTw",
"clients": [
{
"id": "b084aee0-3421-4499-a473-f4ecbba7b3b8",
"flow": "xtls-rprx-vision"
}
]
}{
"address": "203.0.113.10",
"port": 443,
"id": "b084aee0-3421-4499-a473-f4ecbba7b3b8",
"encryption": "mlkem768x25519plus.native.0rtt.GZuLn9qSzR1Zr-w9DGWxJFn8HMqM1lvqw3i_SBbAMhA",
"flow": "xtls-rprx-vision"
}mlkem768x25519plus— the handshake, the only method so far; the same on both sides.native,xorpuborrandom— the look: records with a TLS-like header, the same with the public keys masked, or bytes that look entirely random. Must match.600son the server — the 0-RTT ticket lives a random time between half and all of it;0rttor1rtton the client — use the ticket, or always do the full handshake.- Padding — optional blocks like
100-111-1111.75-0-111.50-0-3333: probability, minimum and maximum of junk bytes and delays. Without them Xray uses this default. - The last block — the server's X25519 private key or ML-KEM-768 seed; on the client, the matching X25519 password or ML-KEM-768 client key. In a link the client string replaces
noneinencryption=. - Limits — fallbacks can't be combined with
decryption. sing-box has no VLESS Encryption; mihomo has anencryptionfield for it.
A vless:// link, field by field
A VLESS link is a whole profile in one line: vless://ID@address:port?parameters#name. Below is a typical Reality link. The address is from a range reserved for documentation, and the ID and keys are made up.
vless://b084aee0-3421-4499-a473-f4ecbba7b3b8@203.0.113.10:443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.example.com&fp=chrome&pbk=eGjsq-1bTItSi448hnpbXv6_8OamCZWoemCtrZMB3KU&sid=07759ef874c6d4f8&type=tcp#Server-1b084aee0-3421-4499-a473-f4ecbba7b3b8— the UUID, your user ID on the server.203.0.113.10:443— the server's address and port. A domain name works too; 443 is the usual HTTPS port.encryption=none— VLESS Encryption is off, as in almost every link; otherwise themlkem768x25519plusclient string stands here.flow=xtls-rprx-vision— the Vision flow; it must match the server.security=reality— Reality protects and disguises the connection.sni=www.example.com— the site name in the handshake: for Reality, the site it borrows; for TLS, your own domain.pbkandsid— Reality's public key and short ID. Both come from the server, and one changed character breaks the connection.fp=chromeandtype=tcp— the browser whose TLS fingerprint the client copies (Reality needs one) and the transport. A WebSocket link with TLS hassecurity=tls&type=ws&host=cdn.example.com&path=%2Fwsinstead, and noflow,pbkorsid.#Server-1— only the name the client shows in its list.allowInsecure— no longer read by Xray: a certificate is pinned by its SHA-256 inpcsinstead.
What a censor sees
With security=none, everything: the UUID and the destination sit in the first packet. With TLS or Reality the network sees an encrypted connection, the server name in the handshake, the client's TLS fingerprint and the server's IP. VLESS itself stays hidden; filters work on that TLS layer and the pattern inside it.
Fingerprints of the client. In October 2022 more than 100 users in China reported servers of TLS-based tools blocked, VLESS among them: first the port, and after a port change sometimes the whole IP (net4people BBS 129, opened by GFW Report). GFW Report suspected, without measuring it, the TLS ClientHello of the clients and suggested uTLS: the fp field in links picks such a browser fingerprint.
TLS inside TLS. Xue, Kallitsis, Houmansadr and Ensafi (USENIX Security 2024) ran a detector of handshakes nested inside proxy connections for 30 days from March 2023 at Merit, an ISP with over a million users. It flagged 74.8% of VLESS over TLS flows and 70.7% of VLESS over WebSocket over TLS, with 0.0544% false positives. Against XTLS Vision, which pads early packets to 900–1400 bytes, a classifier tuned to packet direction flagged 51.3%, at 0.1989% false positives. Multiplexing lowered detection most. The browser used TLS 1.2, and Reality wasn't tested.
Blocking without recognizing VLESS. In June 2025 net4people BBS 490 described a method seen on Russian networks, mostly mobile: a TLS connection to a foreign data center address freezes after about 15–20 KB from the server, whatever runs inside. VLESS Reality was hit like everything else, while a Reality target taken from the filter's list of allowed names got through.
What is not known: we found no published study that tells a Reality handshake apart from a real visit to the borrowed site. Reports of blocked Reality servers so far point at addresses, volumes and traffic patterns, not at a broken disguise.
Strengths and weaknesses
Strengths
- Almost no overhead: a short header and no second layer of encryption under TLS
- No clock check, so a wrong device time doesn't break it
- Works with Reality and the Vision flow: no domain or certificate needed
- Many transports, and with TLS it can sit behind a CDN
- Understood by Xray, sing-box, mihomo and most clients built on them
Weaknesses
- No protection by itself: with
security=nonethe UUID and traffic are readable - Doesn't hide the server's IP: a blocked address stays blocked
- Many combinations: sing-box opens neither XHTTP nor VLESS Encryption links
- TLS inside TLS remains a pattern: research flagged about 3 of 4 flows without Vision
- Not a VPN by itself: a client app has to capture the device's traffic
Where it works
Programs and servers from our comparison tables that list this protocol.
Clients
- Happ
- Hiddify
- v2RayTun
- INCY
- Karing
- v2rayNG
- v2rayN
- NekoBox for Android
- NekoRay
- Throne
- V2Box
- AmneziaVPN
- Clash Verge Rev
- Clash Party
- FlClash
- Shadowrocket
- Stash
- mihomo
- sing-box
- podkop
- PassWall
- PassWall 2
- OpenClash
Servers and panels
- 3X-UI
- Marzban
- Remnawave
- S-UI
- Hiddify Manager
Sources
- Xray docs: VLESS inbound (decryption, flow, fallbacks)
- Xray docs: VLESS outbound (encryption, flow)
- Xray docs: VLESS protocol header structure
- Xray-core PR 5067: VLESS Encryption with ML-KEM-768 (2025)
- Xray-core discussion 716: share link standard for VLESS
- Xue et al., encapsulated TLS handshakes (USENIX Security 2024)
- net4people BBS 129: blocking of TLS-based tools in China (2022)
- net4people BBS 490: a new blocking method in Russia (2025)