What REALITY is
The VLESS protocol does not encrypt data itself: it needs an outer layer. For a long time that layer was ordinary TLS, as on websites. It requires the server to have a domain name and a certificate that must be obtained and renewed.
REALITY is another kind of outer layer. It was designed by the author of Xray and first shipped in Xray-core 1.8.0 in March 2023. The name is written in capitals; in full it appears as XTLS REALITY.
REALITY is not a VPN protocol in its own right. It is a way of establishing a secure connection, normally used as VLESS + REALITY, often together with the XTLS Vision flow.
How the connection is set up
The server's configuration names an existing third-party website that speaks TLS 1.3. When a new connection arrives, one of two things happens:
- The client knows the key. In the first message of the TLS handshake the client includes data that only a holder of the server's public key can produce. The server recognises its client, and the two set up an encrypted TLS 1.3 channel that carries VLESS.
- The key is unknown. The whole connection is passed on to the named website, and the visitor gets its genuine answer with its genuine certificate.
The client checks the server in turn: the same key lets it make sure that the other side is that very server and not an intermediary. Certificate authorities and certificate chains play no part in this check.
What the configuration consists of
- An X25519 key pair. The private key stays on the server; the client gets the public one (
pbk, public key, in links and settings). - A short ID (
sid), a short identifier by which the server tells groups of clients apart. - The site name (
sni, server name), the name the client gives in the handshake. - The client fingerprint (
fp): which browser the client reproduces in the handshake, Chrome, Firefox, Safari and others. The uTLS library does this.
All of these usually come packed in a vless://… link or in a subscription, so they are rarely typed by hand.
How REALITY differs from ordinary TLS
- No domain and no certificate. Nothing to buy, issue or renew, and no entry about a certificate in public logs.
- The server is verified by a key. It cannot be impersonated by someone who obtains a "valid" certificate for the same domain.
- TLS 1.3 only. Session keys are single-use, so captured traffic cannot be decrypted later even if the long-term key becomes known.
- It does not work through a CDN. The connection has to arrive at the server itself: an intermediary that terminates TLS is incompatible with REALITY. For a CDN, ordinary TLS and a transport such as XHTTP are used.
Limits and requirements
- The website named in the configuration must support TLS 1.3 and HTTP/2; the choice also affects how fast a connection is set up.
- The client must support REALITY: Xray-core, sing-box and the apps built on them. Old V2Ray clients will not do.
- Setup needs care: a mistake in the key or the short ID looks like "the server does not answer", with no clear message.
- REALITY protects the channel but does not make the user anonymous: the server still sees where the traffic goes.
REALITY in StayReady
In the StayReady apps for Windows, macOS, Linux and Android the main way to connect is VLESS with REALITY. The user neither sees nor enters keys, identifiers or the other parameters: the app obtains them itself. More about the service's protocols is on the Why StayReady page; the apps are on the download page.
Common questions
Is REALITY a VPN protocol?
No. It is a connection security layer, a replacement for ordinary TLS. The data inside it is carried by another protocol, usually VLESS.
Does REALITY need a domain of its own?
No. The server needs neither a domain name nor a certificate: an IP address and a key pair are enough.
What are pbk, sid and fp in a vless:// link?
pbk is the server's public key, sid is the short ID, fp is the browser fingerprint the client reproduces. Together with the site name (sni) these are the REALITY parameters.
How is REALITY better than TLS with a certificate?
There is no domain or certificate to maintain, and the server is verified by a key rather than by a chain of certificate authorities. On the other hand, ordinary TLS works through a CDN and REALITY does not.
Which apps support REALITY?
Clients based on Xray-core and sing-box: v2rayN, v2rayNG, Hiddify, NekoBox and others, and the apps of VPN services with VLESS + REALITY built in, such as StayReady.
Updated: November 15, 2026