VLESS, REALITY, Trojan, WireGuard and Hysteria explained simply, and which work in Iran
Short answer
On Iran's network, protocols that make a tunnel look like an ordinary website visit, such as VLESS with REALITY and Trojan, usually last longest. WireGuard and OpenVPN are fast and secure but have recognisable patterns and are easier to block. Hysteria2 and TUIC run over UDP, so they depend on UDP not being throttled. No protocol works forever.
If you have helped a friend or relative in Iran get online, you have probably heard names like VLESS, REALITY, Trojan, WireGuard and Hysteria. These are protocols: the rules that decide how a connection to a server is built and what it looks like on the network. Under heavy filtering, the choice of protocol often matters more than the choice of server country, because censorship systems care above all about what traffic looks like.
This guide explains the common protocols without heavy jargon, compares them in a table, and is honest about which tend to hold up in Iran and why none of them is a guarantee.
What a VPN protocol actually decides
Every VPN connection does two jobs: encrypt your data and deliver it to a server. The protocol decides how: how keys are exchanged, whether data travels over TCP or UDP, and what the first packets between you and the server look like.
The crucial point is that even when content is encrypted, the shape of traffic is visible: packet sizes and timing, how a connection starts, which transport it uses. Deep packet inspection (DPI) systems use exactly these clues. If the idea of a tunnel is new to you, start with what a VPN is and how it works.
Two families: classic VPNs and stealth protocols
- Classic VPN protocols such as WireGuard, OpenVPN and IKEv2 were designed for security and speed. Hiding the fact that you are using a VPN was never their goal.
- Censorship-resistant protocols such as VLESS, Trojan, Shadowsocks, VMess, and QUIC-based tools like Hysteria2 and TUIC aim to look like ordinary traffic, or at least to be hard to classify.
On a heavily filtered network, that difference in purpose has big practical consequences.
WireGuard: fast and simple, but easy to spot
WireGuard is modern, lean and strongly encrypted. It runs over UDP, connects almost instantly and is light on battery. Where there is no serious filtering, it is one of the best choices, especially on routers.
In Iran, though, its handshake follows a fixed, well-known pattern that filtering systems can identify with high confidence. If WireGuard works one day and fails the next, that is the likely reason.
OpenVPN and IKEv2: compatible veterans
OpenVPN has been an industry standard for years and runs on almost anything. IKEv2 is built into iPhone, Mac and Windows, so it needs no extra app. Both are secure, but like WireGuard they carry recognisable signatures and are often disrupted in Iran. Their main role there is connecting devices that have no other option, such as some routers.
VLESS with REALITY: hiding behind a real website
VLESS is a lightweight protocol from the Xray/V2Ray family that leaves encryption to the TLS layer. It becomes powerful when combined with REALITY.
With REALITY, the start of your connection is a genuine TLS handshake that presents a well-known website's identity. An observer sees what looks like an ordinary visit to that site. Anyone probing the server without the right key simply gets the real website. There is no self-signed certificate or suspicious domain to give it away.
That is why REALITY has been among the most durable options in Iran in recent years. Durable is not the same as unblockable, though: the server's IP address can still be blocked, and censors can turn to behavioural analysis.
What about XHTTP?
Some networks throttle or reset long, uniform connections. The XHTTP transport splits traffic into ordinary-looking HTTP requests that can even pass through a CDN, which sometimes keeps a connection alive where a single long stream would be cut.
Trojan: looks like normal HTTPS
Trojan wraps traffic in a standard TLS connection so it looks like everyday HTTPS. A request without the right password gets an ordinary web server response. Trojan is light and fast and can also run with REALITY, which makes it a good fast stealth fallback.
Shadowsocks and VMess: the previous generation
Shadowsocks is a lightweight, long-standing protocol used for years in censored countries; VMess was V2Ray's original protocol. Both remain widely supported by apps, but against newer detection methods they are generally weaker than REALITY, especially without a suitable disguise layer.
Hysteria2 and TUIC: speed over UDP
Hysteria2 and TUIC are built on QUIC, which runs over UDP. Their big advantage is performance on unstable, lossy networks such as many mobile connections; Hysteria2 has its own congestion control that can deliver impressive speed on weak lines.
Their weakness is the same UDP. In Iran, outbound UDP is sometimes slowed or restricted, and during those periods these protocols may struggle even if they were excellent an hour earlier.
Comparison table
| Protocol | Transport | Speed | Hard to detect in Iran | Best for |
|---|---|---|---|---|
| VLESS + REALITY | TCP | Good | High | The strictest filtering |
| VLESS + XHTTP | HTTP / CDN | Fair to good | High | Networks that cut long connections |
| Trojan | TCP + TLS | Good | Medium to high | A fast stealth fallback |
| Hysteria2 | UDP (QUIC) | Very good | Medium | Unstable mobile data, when UDP is open |
| TUIC | UDP (QUIC) | Very good | Medium | Similar to Hysteria2 |
| Shadowsocks | TCP / UDP | Good | Low to medium | Older tools and devices |
| VMess | TCP | Fair | Low to medium | Compatibility with older apps |
| WireGuard | UDP | Very good | Low | Routers, lightly filtered networks |
| OpenVPN | TCP / UDP | Fair | Low | Broad compatibility |
| IKEv2 | UDP | Good | Low | Built-in on iPhone, Mac and Windows |
This table reflects typical qualitative behaviour, not the result of a numeric benchmark. Filtering varies by operator, city and time of day.
So which should you use?
There is no permanent answer: what works on a Tehran home line today may fail on mobile data in another city tomorrow. A few rules of thumb usually hold:
- Start with stealth protocols such as VLESS with REALITY or Trojan.
- On mobile data, when UDP is not restricted, try Hysteria2 or TUIC.
- Keep WireGuard and OpenVPN for devices that have no alternative.
- When a connection suddenly fails, switch protocol or server rather than retrying the same one.
In practice the best approach is an app that does this for you. Zuno's apps, for example, have an Automatic mode that tests the network, picks a protocol that works there and fails over when a route is blocked; the protocols page lists all ten it supports. On iPhone and Mac, where Zuno's own app is not out yet, you connect with a free app and your subscription link, as shown on the iPhone page.
Why no protocol lasts forever
Censorship and circumvention are a constant race. When a method becomes popular, detection improves; protocol developers respond, and the cycle repeats. And even the best protocol stops working once its server's IP address is blocked. Having several options, and switching quickly, matters more than any single choice. We explain the blocking methods in why VPNs get blocked in Iran.
Frequently asked questions
What is the best VPN protocol for Iran?
Stealth protocols such as VLESS with REALITY and Trojan usually last longest, and Hysteria2 is sometimes better on mobile data. Conditions change often, so an app that picks the protocol automatically tends to beat any fixed choice.
Why does WireGuard get blocked so quickly in Iran?
It was never designed to hide, and its handshake has a fixed, well-known pattern. Traffic inspection systems can recognise it and block or disrupt it.
Is REALITY undetectable?
No. It makes detection much harder, but no method is completely undetectable, and the server's IP address can still be blocked.
Is Hysteria2 faster than REALITY?
On unstable networks, such as some mobile lines, Hysteria2 is often faster. Because it runs over UDP, its performance drops when UDP is restricted.