On this page
- What actually differs between VPN protocols
- VPN protocols compared side by side
- The four protocols built for restrictive networks
- Classic protocols: OpenVPN and IKEv2/IPsec
- Head-to-head comparisons
- The best VPN protocol for each situation
- Why a protocol that used to work stops working
- Set up each protocol yourself or use one VPN app
- Frequently asked questions
What actually differs between VPN protocols
Every protocol here encrypts your traffic, so the network can’t read it. They differ in how packets travel and what the connection looks like from outside: encryption protects the content, while obfuscation changes those outward signs.
TCP or UDP
TCP guarantees that data arrives complete and in order (MDN). On a lossy link that has a cost: one missing packet holds up everything behind it until it is resent, and TCP slows down when it sees loss. UDP just sends packets and leaves recovery to the protocol on top (MDN). QUIC, the transport behind HTTP/3 and Hysteria2, recovers lost packets per stream, so one loss doesn’t stall the rest (MDN).
The trade-off is reach: some networks block or throttle UDP, while TCP port 443, which HTTPS uses, is open almost anywhere you can browse the web.
What the network sees
A network can’t read encrypted traffic, but it can see its shape: the address and port, the first bytes of each connection, packet sizes and timing. DPI matches that shape against known protocols. Classic VPN protocols have fixed patterns because they were built for compatibility, not to hide. Protocols built for restrictive networks either look like something common, such as HTTPS or HTTP/3, or look like no protocol at all.
Active probing
Some filters also connect to a suspicious server to see how it answers. One that replies like an ordinary website, or not at all, gives far less away than one that answers with a VPN handshake.
VPN protocols compared side by side
The table shows typical behaviour; real results depend on configuration, the server and your network.
| Protocol | Transport | What the network sees | Stable and lossy links | DPI and active probing | Self-hosting effort |
|---|---|---|---|---|---|
| VLESS + REALITY | TCP | TLS 1.3 to a well-known website, with a browser-like handshake | Fast and light; slows under heavy loss, like any TCP connection | Hard to tell from HTTPS; probes get the real website | Most work: keys, short IDs, a target site |
| Hysteria2 | UDP (QUIC) | HTTP/3 traffic, or random-looking UDP with Salamander | Built for lossy and long-distance links; needs open UDP | Probes without the password see a web server; with Salamander, no reply | Moderate: a TLS certificate and a password |
| Shadowsocks 2022 | TCP and UDP | Random-looking bytes with no recognisable header | Very light; behaves like the underlying TCP or UDP | No fixed signature; resists probes, but randomness itself can draw attention | Easy: a server, a random key, a cipher |
| WireGuard | UDP | A handshake with fixed message types and sizes | Very fast; handles network switches well | Easy to spot; silent to probes without the server’s key | Easy: key pairs and a short config |
| OpenVPN | UDP or TCP | Its own packet format, by default on port 1194 | Good over UDP; worse over TCP on lossy links | Easy to fingerprint, even many “obfuscated” setups | Moderate: certificates and config files |
| IKEv2/IPsec | UDP (ports 500 and 4500) | Standard IKE messages, then encrypted ESP packets | Fast; handles network switches well | Easy to recognise, and to block by port | Moderate: certificates; built into many systems |
The four protocols built for restrictive networks
VLESS + REALITY: looks like HTTPS
VLESS is a lightweight proxy protocol from Project X, the team behind Xray; REALITY wraps it in what looks like a TLS 1.3 connection to a real, well-known website. The server borrows that site’s handshake, so it needs no domain or certificate of its own, and anyone connecting without the right key is passed through to the real site (Xray REALITY docs). With the XTLS Vision flow, overhead stays small.
The limits: the connection still goes to your server’s IP, which can be blocked, and TCP slows down under heavy loss. Xray’s documentation also notes that using TLS or REALITY “does not mean that proxy traffic has the same characteristics as ordinary HTTPS traffic” (Xray transport docs). More in our VLESS + REALITY guide.
Hysteria2: speed on unstable links
Hysteria2 is a proxy built on QUIC with its own congestion control, designed for unreliable, lossy networks (Hysteria). If you set your bandwidth, it holds that rate and sends extra to cover lost packets instead of backing off like TCP; otherwise it uses standard congestion control (Hysteria source).
By default it imitates HTTP/3: anyone without the right password, active probes included, sees an ordinary HTTP/3 web server (Hysteria 2 protocol). With Salamander enabled, it turns packets into outwardly random data instead; the two are separate modes. The catch is UDP: where it is blocked or throttled, Hysteria2 slows down or doesn’t connect. More in our Hysteria2 guide.
Shadowsocks 2022: light and random-looking
Shadowsocks is a lightweight encrypted proxy. With AEAD ciphers, both the data and the proxy’s control fields are protected, so there are no plain-text commands to match (Shadowsocks AEAD). The 2022 edition carries TCP and UDP, mandates replay protection and makes servers hide how many bytes they read before rejecting a bad connection, a defence against active probes. Its specification calls the traffic “indistinguishable from a random byte stream” (Shadowsocks 2022 spec).
Shadowsocks doesn’t imitate HTTPS, though, and doesn’t rule out recognition by traffic behaviour: some filters treat traffic that matches no known protocol as suspicious in itself. See our Shadowsocks guide.
WireGuard: fast, simple, easy to spot
WireGuard is a lean VPN tunnel that runs only over UDP and uses modern cryptography (the Noise framework, Curve25519, ChaCha20-Poly1305). It is quick to set up, light on resources and keeps the tunnel up as you move between Wi-Fi and mobile data. A WireGuard server also ignores handshake packets that don’t prove knowledge of its public key, so probes get no reply (wireguard-go).
What it doesn’t do is hide. Every handshake has the same message types and fixed sizes, 148 bytes out and 92 back (wireguard-go), and its developers say it does not focus on obfuscation (WireGuard). Standard WireGuard isn’t designed to mask traffic from DPI: on networks that block VPNs, switch to VLESS + REALITY, Hysteria2 or Shadowsocks. More on why WireGuard gets blocked.
Classic protocols: OpenVPN and IKEv2/IPsec
OpenVPN and IKEv2/IPsec are mature and secure when configured well, but neither was built to hide that it is a VPN.
OpenVPN runs over UDP by default; its manual calls the TCP mode “somewhat less efficient and less robust” on unreliable or congested networks (OpenVPN manual). Its packets carry a readable message type, and even the tls-crypt option, which encrypts the control channel, only makes it “harder to identify OpenVPN traffic as such” (TLS options). Researchers working with a million-user internet provider identified most OpenVPN connections, and connections to 34 of the 41 “obfuscated” VPN configurations they tested (USENIX Security 2022).
IKEv2/IPsec, built into many operating systems, sets up keys over UDP ports 500 and 4500 with standard, unencrypted headers (RFC 7296), so it is easy to recognise and to block by port alone.
Both are fine on open networks but usually the first to stop working where VPNs are filtered.
Head-to-head comparisons
WireGuard vs VLESS
They solve different problems. WireGuard is a VPN tunnel: fast, simple and easy to recognise. VLESS + REALITY is a proxy rather than a VPN, built to look like ordinary HTTPS, though client apps can send all your device’s traffic through it. On an open network, WireGuard is usually simpler and faster; on a network that blocks VPNs, VLESS + REALITY is much more likely to get through.
VLESS vs Hysteria2
Both are built for restrictive networks but bet on different transports. VLESS + REALITY runs over TCP behind a TLS 1.3 handshake to a real website, so it can work wherever ordinary HTTPS does. Hysteria2 runs over UDP, looks like HTTP/3 and keeps speed up on lossy or long-distance links where TCP slows down. If UDP is blocked or throttled, try VLESS + REALITY; if UDP flows freely and the link is unstable, Hysteria2 is usually faster.
The best VPN protocol for each situation
Start here, then test on your own network:
- Open network, such as most home connections: WireGuard, the fastest and simplest when nothing filters VPNs.
- VPNs blocked, ordinary HTTPS allowed, as on some office, school or hotel Wi-Fi and in countries that filter traffic with DPI: VLESS + REALITY. If you need the best VPN protocol for censorship of this kind, start here.
- Lossy or mobile link, UDP open: Hysteria2.
- UDP blocked or throttled: a TCP protocol, usually VLESS + REALITY.
- Lightest setup: Shadowsocks 2022, where random-looking traffic isn’t treated as suspicious.
- Only approved sites work: some networks allow only a list of destinations. No protocol fixes that: the problem is where the connection goes, not what it looks like.
Nothing is filtered
- Open networkHome or office connection that doesn't block VPNs
- WireGuardLean UDP tunnel, usually the fastest
VPNs are filtered
- VPNs blocked, HTTPS allowedDPI spots VPN protocols, ordinary websites still open
- VLESS + REALITYLooks like TLS 1.3 to a real website
The link is poor
- Lossy or mobile linkPacket loss or long routes, and UDP gets through
- Hysteria2QUIC with congestion control built for loss
Why a protocol that used to work stops working
When a protocol suddenly fails, the usual causes are:
- The network learned to recognise it. Filters get updated, and protocols with fixed patterns, such as OpenVPN, IKEv2 and WireGuard, tend to go first.
- UDP is blocked or throttled. That affects WireGuard, Hysteria2 and IKEv2 at once, while TCP-based VLESS + REALITY may still connect.
- The server’s IP is blocked. Changing protocol won’t help; you need another server or location.
- It isn’t the protocol. Hotel Wi-Fi may want you to sign in on a web page first. On your own server, check the device clock: Shadowsocks 2022 treats messages more than 30 seconds off as replays (spec).
If another protocol connects on the same network, the old one was being recognised. In Phoenix VPN, Smart Connection runs this test in one tap: it checks which protocols get through on your network, picks the best country and connects. For step-by-step checks, see VPN blocked on Wi-Fi or mobile data.
Set up each protocol yourself or use one VPN app
Running your own servers suits you if you enjoy the technical side: you control every setting and learn how each protocol behaves. But the work grows with each protocol, and the hard part is keeping an alternative ready for when your main one is blocked.
| Set it up yourself | Phoenix VPN | |
|---|---|---|
| Servers | Rent a VPS outside the restricted network and keep it patched | Phoenix’s dedicated servers with multi-gigabit links |
| Protocols | Set up each one separately, from Xray for VLESS + REALITY to WireGuard | VLESS + REALITY, Hysteria2, Shadowsocks and WireGuard, all in every plan |
| Choosing a protocol | Test each profile on each network and switch by hand | Smart Connection checks which protocols get through and connects; or choose the protocol and country yourself |
| Client apps | A client per platform, such as v2rayN, Hiddify or the WireGuard app, with a profile per protocol | VPN apps for Windows, Android and Android TV; iPhone/iPad and macOS coming soon |
| When a protocol is blocked | Change the protocol, port or server and update every device | Tap Smart Connection again: it checks what gets through and connects |
| Logs | You decide what your servers log; you also rely on your hosting provider | No activity logs: browsing history, DNS queries and traffic content are not stored |
| Devices | As many as your setup handles | Ember 3, Phoenix 6, Inferno 10 |
| Time to connect | Often an hour or more per protocol the first time | Install the app, then one tap |
No protocol wins on every network, and the one that works today may not work next month. That is the idea behind Phoenix VPN, an obfuscated VPN for networks that block VPNs: all four protocols come in every plan, and Smart Connection finds a protocol that gets through on your network in one tap. Prefer to choose? Pick the protocol and country yourself. Phoenix and Inferno include a 3-day free trial to test it on your own network, and you can cancel anytime. Compare plans or download Phoenix VPN.
Frequently asked questions
Which VPN protocol is the fastest?
On a stable network that doesn't block VPNs, WireGuard is usually the fastest and lightest. On lossy, congested or long-distance links, Hysteria2 often does better, because its congestion control is built for packet loss. Real speed depends mostly on the server, the route and your network.
Which VPN protocol is hardest to detect?
The ones built to look like ordinary web traffic: VLESS + REALITY looks like a TLS 1.3 connection to a real website, and Hysteria2 looks like HTTP/3. Neither is undetectable. The server's IP can still be blocked and traffic patterns can be analysed, so results depend on the network.
Is OpenVPN still safe to use?
Yes. A well-configured OpenVPN is still considered secure, and it works on many open networks. Its weakness is that DPI recognises it easily, including many setups sold as obfuscated, so on networks that block VPNs it is often the first protocol to stop working.
Can I use WireGuard on a network that blocks VPNs?
Often not. Standard WireGuard isn't designed to mask traffic from DPI, and its handshake is easy to recognise. On networks that block VPNs, switch to a protocol built for obfuscation, such as VLESS + REALITY, Hysteria2 or Shadowsocks.
Is UDP or TCP better for a VPN?
UDP is usually faster, because UDP-based protocols such as WireGuard and Hysteria2 avoid the slowdowns TCP suffers when packets are lost. TCP gets through more networks: some block or throttle UDP, but few block HTTPS on TCP port 443. That is why it helps to have both kinds.
Phoenix VPN team · Written and fact-checked by the people who build Phoenix VPN.