When your network blocks VPNs
Short answer: networks block VPNs by recognising the standard protocol handshakes (or well-known ports) and refusing them. Obfuscated protocols disguise the tunnel as ordinary web traffic so those checks miss it. They are designed for public networks — hotels, cafés, shared flats — and for your own router. This page is not about circumventing a school’s or employer’s network: that is a different situation with different rules.
Is this legal? Yes — connecting to a VPN from a network you are legitimately using is lawful in the UK. Network terms of service can still set their own rules: a hotel that prohibits VPN use in its terms can apply them, and this page sticks to networks where you are entitled to a normal internet connection. A VPN does not make anything that is illegal without it legal.
Why networks block VPNs
Almost no network blocks the whole internet. They block patterns. The three techniques in order of how often you will meet them:
- Port and protocol fingerprints. Standard WireGuard, OpenVPN and IKEv2 handshakes have fixed, recognisable shapes, and they often use well-known ports. Deep packet inspection (DPI) recognises them and drops the connection. This is the main method — documented at every scale from VPN providers’ own obfuscation guides to censorship researchers.
- Blocking known VPN server IPs. Commercial VPN exit ranges are widely listed. The network refuses the IP, not the protocol — which is why a protocol change sometimes fixes nothing.
- Captive portals and DNS hijacking. The network intercepts your DNS and redirects to a sign-in page, breaking the VPN’s name resolution before the tunnel can start.
Hotels and cafés usually apply 1 and 3 (sometimes without saying so). Home broadband filters and some routers apply 1. State-level censors apply all of them aggressively — which is where the obfuscated protocols below were developed.
What obfuscated protocols are for
Obfuscation changes what the VPN connection looks like, not how well it is encrypted. Your traffic still needs a way through, so the tunnel is wrapped or disguised until the fingerprint no longer matches. The realistic options on consumer plans:
- Stealth (Proton, Windscribe): the VPN runs inside an obfuscated TLS session over TCP, looking like ordinary HTTPS. Proton’s version is included on its free plan.
- WStunnel (Windscribe): OpenVPN over WebSocket frames — a deeper disguise for networks that only allow web-like traffic. Windscribe positions Stealth first and WStunnel as the last resort.
- AmneziaWG: a WireGuard fork that randomises headers, packet sizes, sequences and timing instead of wrapping the tunnel, so there is no extra overhead protocol to block.
- LWO and QUIC obfuscation (Mullvad): LWO scrambles WireGuard packet headers in place — computationally cheap and fast; QUIC obfuscation tunnels the WireGuard connection through HTTP/3 (MASQUE, RFC 9298), so a censor sees web traffic.
- Shadowsocks-based self-hosting (Outline) and expert tools such as Xray REALITY and Hysteria2: for heavily censored countries, explained on our protocols page.
Practical advice when a network blocks your VPN: switch the protocol in your app (usually under Connection or Protocol settings), try port 443, reconnect — and if nothing connects, the network may be blocking your provider’s IPs rather than the protocol, in which case a different server region can help.
What this page covers — and what it does not
This page is about two situations only: public and shared networks where you are a legitimate guest (hotels, cafés, conference Wi-Fi, a flat-share where everyone agrees), and your own home network and router, which you control and where our router guide applies.
It is explicitly not about circumventing a school’s or an employer’s network. If you are at school, college or work, the network owner’s rules apply to you, and attempting to defeat controls you were given notice of can be a disciplinary matter and may fall under the Computer Misuse Act — see our dedicated work and school networks page, which explains the risk honestly and sets out legitimate alternatives (your own mobile data connection, or simply asking IT). It is also not about under-18s: this handbook is for adults.
What this does NOT protect you from
- The network seeing that some encrypted connection exists and blocking it anyway — volume and timing analysis is harder to hide from than a handshake.
- IP-based blocks on your provider’s servers.
- Anything unlawful you might try to do: a VPN is a tunnel, not a permission slip.
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.
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)
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)
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
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)