On this page
How it works
An ordinary TLS proxy, such as Trojan or VLESS with TLS, keeps its own domain and its own certificate. An observer sees that domain's name at the start of the connection and can check for themselves what stands behind it. With Reality, the name at the start of the connection belongs to somebody else — a real website picked for the disguise.
The client starts the connection like a browser opening that website and hides a tag in the handshake that only your server can check — using a key pair shared by the server and the client. If the server recognizes the tag, the VPN follows. If it doesn't, the server simply passes the connection on to the real website, which answers with its own certificate and its own pages.
For its own client, the server answers with a temporary certificate that the client verifies with the same shared key, not through a certificate authority. That is why there is no certificate to issue and no domain to buy: a Reality server is just a VPS with a public IP address and somebody else's website chosen in advance.
So active probing — when a filter connects to a suspicious server itself and looks at the answer — gets an ordinary website. This is Reality's main strength. On top of that, the client imitates the TLS fingerprint of a popular browser, so the look of its handshake doesn't stand out either.
What the server needs
- A program that understands Reality — usually Xray — and a free port, most often TCP 443.
- An x25519 key pair: the private key on the server, the public key with the clients. In Xray the command
xray x25519makes one. - A website for the disguise —
destandserverNamesin the server settings. Somebody else's site, with TLS 1.3 and HTTP/2, that doesn't redirect to another domain. - Short IDs (
shortIds) — an extra client tag. There can be several, one per device. - The
xtls-rprx-visionflow. It removes the telltale TLS-inside-TLS pattern that would otherwise reveal a browser opening a second secure connection inside the first one.
What Reality can't do
- It doesn't hide the server's IP address. If the address is closed off entirely, no disguise helps — you need another server.
- The website's name and the server's address don't match. A careful filter can notice that a big website's name leads to a small hosting provider's address. So the disguise site is better not the most famous one — rather one that could plausibly live at that host.
- It doesn't hide the volume and rhythm of traffic: a long, heavy session to one address stays just that.
- It works over TCP only and doesn't go through a CDN: the server must be reachable directly.
- It depends on the chosen website: if the site stops answering the server or changes its TLS settings, connections start failing. Then the disguise site is changed for another one.
- TLS fragmentation hurts it — it breaks the handshake. It is not turned on for Reality profiles.
- On networks that let through only allowlisted websites, even Reality won't help.
What a VLESS Reality link looks like
A Reality profile usually comes as a vless:// link. It is easy to spot: it contains security=reality. Next to it are pbk — the server's public key, sid — the short ID, sni — the disguise website, fp — the browser fingerprint, chrome for example, and usually flow=xtls-rprx-vision.
vless://user-id@203.0.113.5:443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.example.com&fp=chrome&pbk=public-key&sid=6ba85179e30d4fc2&type=tcp#realityNothing in the link needs editing: paste it into a client whole, with no spaces or line breaks. If the link doesn't connect, most often it got cut off when copied or the server changed its key.