REALITY, Xray, and AmneziaWG: The 2026 Anti-Censorship Protocol Stack Explained
By Fizzah Mehtab · · 14 min read
REALITY, Xray and AmneziaWG carry most anti-censorship traffic in 2026. How each gets past DPI, and which combination survives the Great Firewall.
In 2026 most anti-censorship traffic runs on three things. REALITY is TLS camouflage that borrows the certificates of legitimate servers. Xray is the umbrella project that implements REALITY alongside VLESS and other obfuscated transports. AmneziaWG is the Amnezia team's obfuscated WireGuard. Below we explain how each gets past deep packet inspection, how detectors like IPLogs respond, and which combination holds up best against the 2026 Great Firewall, TSPU and Iran's filternet.
REALITY — TLS camouflage that borrows real certificates
REALITY is a transport-layer obfuscation protocol that makes VLESS traffic look like an ordinary connection to a real website. The client performs a real TLS handshake with a genuine public site, for example www.apple.com or www.microsoft.com, and the REALITY server intercepts that handshake as a middlebox and mixes its own pre-shared key into the key derivation. To anyone else it looks like a normal handshake with Apple. An authorized VLESS client completes the same handshake and then runs a hidden tunnel on top of it.
If a censor probes the server by repeating the handshake with small variations, the server falls back to the real Apple or Microsoft certificate and looks exactly like the cover site. To block it outright you would have to block Apple or Microsoft, a political and operational cost few censors can bear.
Detecting REALITY
The standard test is SNI fuzzing. Probe the server with the real SNI, then again with a small change such as a subdomain that doesn't exist. A genuine CDN like Apple's answers both the same way. A REALITY server usually behaves slightly differently on the altered probe: the cipher suite order changes, the session ticket is a different length, or the handshake takes a little longer, because the server is handing off to its fallback instead of answering itself.
IPLogs runs SNI fuzzing as the active_probe_vless_reality signal. It isn't perfect, but it fires often enough that, together with other mid-weight signals, it moves a verdict from clean to suspicious.
Xray — the umbrella project
Xray is a fork of V2Ray that implements VLESS, the lightweight third-generation proxy protocol meant to replace VMess. VLESS has almost no obfuscation of its own. That was deliberate: the transport is kept separate from the obfuscation, so wrappers like REALITY, WebSocket, gRPC, QUIC or XHTTP can be swapped depending on what the censor is doing.
A typical 2026 deployment puts REALITY over VLESS on a VPS that runs an unmodified nginx or caddy as a cover service, often behind Cloudflare as an extra layer of disguise. Self-hosted REALITY with Cloudflare WARP is reported to have the highest survival rate of any deployment pattern inside China, Russia and Iran in 2026.
AmneziaWG — obfuscated WireGuard
Two things make standard WireGuard easy to fingerprint and block. Its handshake initiation packets have a fixed structure and size, and it runs on UDP/51820 by default. A DPI box can match either one with almost no effort.
AmneziaWG, the obfuscated fork that ships with AmneziaVPN, deals with both:
- Packet shape randomization. Junk of random length is added before and after the initial handshake packet, so size-based signatures miss it.
- Junk-byte initial phase. Before the real handshake, the client sends several junk packets of random sizes to hide the timing of the handshake initiation. (IPLogs originally produced false positives on exactly this behavior. We fixed that by requiring several correlated signals before flagging.)
- Configurable ports. AmneziaWG usually runs on random high UDP ports instead of UDP/51820.
AmneziaWG is the default in AmneziaVPN's apps for iOS, Android, Windows, macOS and Linux, which makes it the easiest obfuscated WireGuard for non-technical users to get running. It works against Russia's TSPU and Iran's filternet, and as of early 2026 against China's GFW too, although the GFW's Q2 2026 ML upgrade seems to be getting better at spotting the junk-byte pattern.
Which combination wins in 2026
For users in the toughest censorship environments (China, Iran, Turkmenistan), this setup has held up best in practice:
Xray VLESS + REALITY targeting a Cloudflare edge IP, hosted on a small VPS outside the censored country, with AmneziaWG as a fallback when REALITY is blocked.
It survives because blocking it is so expensive. REALITY traffic to Cloudflare looks like any of the millions of legitimate connections to Cloudflare, and Cloudflare is too big to block wholesale. When REALITY is disrupted for a while, usually around politically sensitive dates, AmneziaWG on random UDP ports takes over until the DPI systems are retuned.
What this looks like from the detector side
A detector like IPLogs isn't concerned with the user's side of the tunnel. What we classify is the exit. REALITY exit servers on Hetzner, OVH and DigitalOcean show up as datacenter IPs with high confidence and get the dc_ip signal at weight 0.1. Add an active REALITY cert-switch probe, when the endpoint answers, and the verdict reaches vpn_likely without difficulty.
AmneziaWG exits are harder, though still manageable. The nonstandard-port signal fires on random UDP, and when the endpoint can be probed directly, the WireGuard handshake-init probe (see our 7-layer method) triggers a handshake response on AmneziaWG deployments that have not been carefully configured to drop unrecognized initiators.
References
- Xray-core GitHub, REALITY specification, 2023–2026.
- Amnezia-VPN GitHub and documentation, amnezia.org, 2026.
- Qubes OS Forum, "Installation of Amnezia VPN and Amnezia WG" community guide, 2026.
- Saropa Contacts, "Global (De)Censorship Report 2025: Freedom, Protocols & Technologies".