WireGuard, OpenVPN and obfuscation explained
Short answer: WireGuard and OpenVPN are the two workhorse VPN protocols. WireGuard is faster and much smaller; OpenVPN is older and more flexible. Both are easy for a network operator to recognise. Obfuscated protocols wrap the VPN connection so it looks like ordinary web traffic — useful on restrictive networks, but no protection is perfect.
WireGuard vs OpenVPN in one page
WireGuard is a modern protocol that encrypts your IP packets and sends them over UDP. Its developers deliberately kept it tiny — its own site contrasts it with the “gigantic codebases” of OpenVPN and IPsec that are “an overwhelming task” even for large teams of security experts, whereas WireGuard is “comprehensively reviewable by single individuals”. It is fast, reconnects quickly when your network changes, and is built into the Linux kernel. It became the default protocol for most serious VPN providers because of this simplicity, not despite it.
OpenVPN is the veteran. It usually runs over UDP for speed, with a TCP mode as a fallback. It has been around since 2001, is extremely well understood, and its TCP mode helps on networks that block or mishandle UDP. Its downside is the opposite of WireGuard’s: a huge code base built on OpenSSL that is much harder to audit fully, and noticeably more overhead.
| WireGuard | OpenVPN | |
|---|---|---|
| Transport | UDP only | UDP and TCP |
| Speed | Usually fastest | Good, more overhead |
| Code size | Very small, easy to audit | Large |
| Reconnects on network change | Almost instant | Noticeable pause |
| Easy to detect and block | Yes | Yes |
For everyday privacy at home, WireGuard is the sensible default. For squeezing through an awkward network, see the obfuscation section below.
Why networks can detect a standard VPN handshake
Nothing about a VPN connection is invisible. To set up an encrypted tunnel, your device and the VPN server must exchange a handshake — and standard WireGuard, OpenVPN and IKEv2 handshakes have fixed, recognisable patterns: specific packet types, specific sizes, often a well-known port.
A deep packet inspection (DPI) system looks at those patterns rather than the encrypted content (which it cannot read anyway). Proton’s own documentation notes that traditional protocols are “relatively easy to recognize on a network”, and Amnezia’s documentation explains that WireGuard’s fixed packet headers and predictable packet sizes “create an easily recognizable signature” that DPI systems can terminate immediately. Hotels, cafés, workplaces and state censors all use this at different scales — which is what the next section is for.
What obfuscation is for
Obfuscation means disguising the VPN connection so the fingerprint no longer matches. It does not make the VPN more private — your encryption is unchanged — it just changes what the connection looks like from the outside. The main approaches:
Disguise the tunnel as TLS (HTTPS)
- Proton Stealth runs the VPN over an obfuscated TLS session on TCP, so it resembles ordinary HTTPS browsing. It is available on all Proton plans, including the free tier. Privacy Guides adds an honest caveat: Stealth helps against rudimentary blocking, but “does not work very well in countries where sophisticated filters that analyze all outgoing traffic” look for encrypted tunnels.
- Windscribe Stealth wraps OpenVPN in a TLS tunnel using Stunnel so it looks like normal HTTPS on port 443. Windscribe WStunnel goes further and carries OpenVPN over WebSocket frames — the same mechanism many web apps use — and is Windscribe’s “last-resort” option for very restrictive networks.
Randomise the WireGuard fingerprint
- AmneziaWG (from the Amnezia project) keeps WireGuard’s cryptography untouched but randomises the packet headers, adds random padding, varies packet sizes, and — in version 3.1, written after widespread blocking in Russia in June and July 2026 — varies packet sequences and timing so that connections no longer repeat recognisable patterns. It runs on phones, computers and routers, and its configurations fall back to standard WireGuard behaviour when the obfuscation parameters are switched off.
Move the tunnel to a proxy protocol
- Shadowsocks, as used by Outline, is an encrypted proxy designed to be hard to detect. Outline’s maintainers — the independent, non-profit Outline Foundation — describe it as “more resilient because it is built using a protocol that is designed to be difficult to detect”.
- Xray VLESS with REALITY is an expert-level tool: REALITY is “a modified form of TLS that uses the appearance and handshake characteristics of a target site as camouflage”, borrowed from a real website. Hysteria2 is another expert tool aimed at heavily censored countries, based on QUIC over UDP. The sing-box developers themselves warn that UDP-based proxies “actually have far more obvious characteristics than TCP based proxies” — so treat these as tools for people maintaining servers in heavily censored countries, not as everyday UK options.
Tunnel the VPN inside web traffic
- Mullvad’s QUIC obfuscation (September 2025) builds on the MASQUE protocol from RFC 9298 and tunnels WireGuard inside an HTTP/3 connection, so a censor sees web traffic — and HTTP is rarely blocked, because blocking it would break much of the internet.
- Mullvad’s LWO (Lightweight WireGuard Obfuscation, November 2025) takes the opposite approach to AmneziaWG: rather than mimicking another protocol, it scrambles each WireGuard packet’s header in place. It is deliberately computationally cheap, so it adds almost no overhead even on low-powered devices.
Which one should you use?
| Your situation | Good starting point |
|---|---|
| Home broadband or phone in the UK | WireGuard — obfuscation is unnecessary |
| Hotel or café Wi-Fi that blocks VPNs | Your provider’s obfuscated mode (Stealth, WStunnel, LWO) |
| Your provider offers several | Try the obfuscated modes in order; the fastest one that connects wins |
| Travel in heavily censored countries | Prepare before you go: Outline or Amnezia, possibly REALITY — and see our travel page |
What this does NOT protect you from
- Obfuscation hides the shape of the tunnel, not your activity. Whatever you do inside the tunnel is subject to the same laws and site terms as ever.
- A determined censor can still block by IP address, spot traffic volume patterns, or block entire countries. Mullvad notes its obfuscation modes are available “on a subset” of its servers for this reason.
- Obfuscated traffic still has to end somewhere. Traffic-analysis attacks (which Mullvad’s DAITA feature addresses) are a separate problem.
Is this legal? Yes. Choosing or configuring a VPN protocol is lawful in the UK. A VPN does not make anything that is illegal without it legal, and using one may breach the terms of service of the site or network you use it with.
Sources and verification
Every factual claim on this page is registered and independently checked (two independent sources for legal, numeric and security claims). How this works: fact-checking. Spotted an error? Tell us.
WireGuard encapsulates IP packets over UDP and was designed to be far smaller and easier to audit than OpenVPN or IPsec.
- WireGuard (Jason A. Donenfeld / ZX2C4) — WireGuard: fast, modern, secure VPN tunnel
- Wikipedia — WireGuard — Wikipedia (protocol passes traffic over UDP; lighter than IPsec and OpenVPN; minimal codebase)
Standard VPN protocol handshakes carry recognisable signatures, so deep packet inspection (DPI) systems can identify and block VPN connections built on WireGuard, OpenVPN or IKEv2.
- Proton VPN — Defeat censorship with Stealth, our new VPN protocol
- Outline Foundation — How it Works — Outline
- Amnezia — AmneziaWG documentation (versions 1.5, 2.0 and 3.1)
Proton's Stealth protocol wraps the VPN connection in an obfuscated TLS session over TCP so it looks like ordinary HTTPS traffic, and it is available on all plans including the free tier.
- Proton VPN — Defeat censorship with Stealth, our new VPN protocol
- Privacy Guides — VPN Services recommendations (Privacy Guides)
Privacy Guides warns that TLS-based obfuscation like Stealth does not work very well in countries that deploy sophisticated filters analysing all outgoing traffic to discover encrypted tunnels. single-source attributed
- Privacy Guides — VPN Services recommendations (Privacy Guides)
Windscribe offers Stealth (OpenVPN wrapped in a TLS tunnel via Stunnel) and WStunnel (OpenVPN over WebSocket frames) as extra protocols in its apps, including the free tier.
- Windscribe — What Is the Stealth VPN Protocol? (Windscribe knowledge base)
- Windscribe — What is the WStunnel protocol? (Windscribe knowledge base)
Amnezia's documentation describes AmneziaWG as a fork of WireGuard that keeps the original cryptography but randomises packet headers, packet sizes, sequences and timing (v3.1, developed after widespread blocking in Russia in June and July 2026) so the traffic is harder to fingerprint. single-source attributed
- Amnezia — AmneziaWG documentation (versions 1.5, 2.0 and 3.1)
Outline is a self-hosted VPN built on a proxy design (including Shadowsocks) intended to be difficult to detect and block, and is maintained by the independent, non-profit Outline Foundation.
- Outline Foundation — How it Works — Outline
- Outline Foundation — For Developers — Outline SDK
- Outline Foundation — Get Started — Outline
Xray's documentation describes REALITY as a modified form of TLS that uses the appearance and handshake characteristics of a target site as camouflage. single-source attributed
- Project X Community (Xray-core) — Xray — REALITY transport security
The sing-box project warns that even though censors rarely block UDP-based proxies outright, UDP-based protocols such as Hysteria2 have far more obvious characteristics than TCP-based ones. single-source attributed
- SagerNet (sing-box) — sing-box — Hysteria 2 protocol manual
Mullvad's QUIC obfuscation (September 2025) builds on the MASQUE protocol described in RFC 9298 and tunnels WireGuard traffic through an HTTP/3 connection so it appears to be web traffic.
- Mullvad VPN — Introducing QUIC Obfuscation for WireGuard
- IETF / RFC Editor — RFC 9298: Proxying UDP in HTTP (MASQUE; UDP tunnels over HTTP, including HTTP/3)
Mullvad's Lightweight WireGuard Obfuscation (LWO), added in November 2025, scrambles the header of each WireGuard packet to make them harder to fingerprint, and is designed to be computationally cheap.
- Mullvad VPN — Introducing Lightweight WireGuard Obfuscation
- Mullvad VPN — Mullvad Review of 2025