Why did my VPN suddenly stop working in China?
If your VPN worked last week and died this week, the most likely cause is not your subscription and not a banned server address. It is that the network learned to recognise the protocol your VPN speaks, and started dropping it on sight.
Pangea's VPN for China page covers what we built for this. Here is how to tell which kind of block you hit.
That distinction matters, because the two problems have completely different fixes. Changing server, changing city, or buying a different plan does nothing about a protocol block. Changing what the traffic looks like does.
First, work out which failure you have
Four symptoms, and they point at different causes.
It connects, then nothing loads. The tunnel came up and the filter killed it a moment later, or is dropping the traffic inside it. This is the classic protocol-recognition failure. It is also the most common one during a blocking wave.
It works for a few minutes, then stalls. This is the one people blame on bad wifi. More often the filter watched the flow for a while, or connected to your server itself to check what it is, and then cut it. A different server on the same protocol will die the same way. Why a VPN works for a few minutes, then stops goes through the timing.
It never connects at all. Either the server address itself is blocked, or the handshake is being dropped before it completes.
It works on mobile data but not on your home broadband, or vice versa. That is your answer right there: the two networks are running different filtering. Nothing is wrong with the VPN. One network is stricter than the other.
Worth checking that last one before you do anything else, because it is free and it tells you whether you are fighting a national filter or one specific network.
What the filter is actually looking at
Encryption hides what you are saying. It does not hide the shape of how you say it.
Most VPN protocols open with a distinctive handshake, and that handshake is a fingerprint. Researchers at the University of Michigan demonstrated this against OpenVPN in OpenVPN is Open to VPN Fingerprinting (USENIX Security 2022): they identified OpenVPN flows, including obfuscated ones, with very low false-positive rates, and confirmed real-world middleboxes doing the same thing. WireGuard has the same structural weakness. Its handshake is fixed and well documented, which is excellent engineering and terrible camouflage. Does deep packet inspection detect WireGuard? goes into why.
Protocols designed to look like nothing at all get caught by the opposite tell. The Great Firewall blocks traffic that is too random. How the Great Firewall of China Detects and Blocks Fully Encrypted Traffic (USENIX Security 2023) documents entropy-based heuristics that flag connections whose bytes look uniformly random, which is exactly what a fully encrypted proxy stream looks like. Being unrecognisable is its own signature.
It can also read names. In an ordinary HTTPS connection the site name (the SNI) is sent in the clear before encryption starts, so a filter can cut anything on its block list by name alone. GFW Report documented China blocking encrypted-SNI connections outright in 2020, which tells you the filter reacts to the handshake, not only to the content.
And when a filter is only suspicious rather than certain, it can ask. How China Detects and Blocks Shadowsocks (IMC 2020) documents active probing: the firewall sends its own crafted connections to a server it suspects, watches how it responds, and blocks it if it answers like a proxy. Your server can be discovered because of how it replies to a stranger, not because anyone leaked its address. What is active probing? covers it in more depth.
Why blocks arrive in waves
If half your friends lost their connection on the same day, that is not coincidence and it is not your provider being singled out for being popular.
A filtering rule gets deployed, and every service using the protocol that rule matches fails at once. The rules are deployed centrally, so the effect is a cliff rather than a slope. Providers that speak one protocol have one point of failure, and when the rule lands they have nowhere to go until they ship something new.
This is also why the folk advice to "buy a small obscure provider nobody has blocked yet" tends to disappoint. Obscurity is not the variable being measured. Nobody is maintaining a list of brand names. The filter is matching traffic patterns, and a small provider running stock WireGuard matches the same pattern as a large one running stock WireGuard.
Why the usual fixes do not work
Changing server. The filter is matching a pattern, so every server that speaks the same protocol the same way gets the same treatment.
Changing port. It helps against crude port blocks only. Pattern matching does not care which port the traffic uses.
"Obfuscated" modes that only scramble bytes. Per the research above, traffic that looks fully random is a known target.
Free VPNs. Many run shared, widely known configurations, so they are among the first to be fingerprinted. A free service also has to be paid for somehow, which is worth thinking about before you route your traffic through it.
What actually helps
So does a VPN work in China at all? Some do, some of the time, on some networks. The approach that survives protocol recognition is traffic that resembles ordinary web browsing, plus more than one way of doing it, so a rule that kills one method does not end the conversation.
Pangea is built around that. There are six transports, tried in order:
- VLESS + Reality borrows a real site's TLS handshake, so probing and SNI inspection see a genuine site.
- Cloak wraps traffic in TLS aimed at a decoy cover site, so it reads as an ordinary visit there.
- Shadowsocks uses no TLS at all on its own port, so a rule aimed at TLS misses it. It is also the protocol the probing research above targeted, so it is a fallback rather than the first choice.
- Hysteria2 runs over UDP and QUIC rather than TCP, which is worth trying when a block is killing every TCP connection.
- NaiveProxy uses real Chromium TLS and HTTP/2, so the fingerprint matches an ordinary browser.
- AnyTLS pads every TLS record, so a filter that measures packet sizes to spot a tunnel inside TLS loses the pattern.
When one gets recognised, the client moves to the next. That is the whole design goal: more than one way through, because any single method eventually meets a rule written for it.
More detail on the specifics is on the China page.
The honest limits
Anyone promising you an unblockable connection is selling you something they cannot deliver, so here is where this approach stops.
A captive portal that demands a login before it routes anything will still stop you, because you never reach the internet to begin with. A total network shutdown is not a filtering problem and no VPN solves it. If the specific address your client connects to gets blocked directly, that connection is down until it moves. And filtering methods keep improving: a transport that is invisible today is a research paper tomorrow.
A VPN also cannot change what your phone number, your logged-in accounts or the apps on your device already tell a service about you. It changes what the network sees, and which address a site sees.
China regulates cross-border VPN use, and what is allowed differs for a business, a visitor and a resident. We are not lawyers and cannot advise you on that, so read up before you rely on one.
If you want to see what is being blocked right now, OONI publishes open measurements from inside China. An anomaly in its data is a pointer, not proof of a block.
Before you go
- Set it up before you travel. Download pages, app stores and sign-up pages, ours included, can be hard to reach from inside the country. Install the app and connect once while you are somewhere unrestricted.
- Test on a network that is not your home wifi. A VPN that works at home tells you little about a hotel or a mobile network in China.
- Check which devices it covers. Pangea has Windows and macOS apps, and iPhone works through Shadowrocket (a £2.99 App Store app). There is no Android app yet.
- Know your payment path. Five days free with a card, then £5.49 a month or £27.99 a year unless you turn auto-renew off. If you would rather not give a card, you can pay with crypto, Monero included, with no email. That route has no free trial.
- Read the client before you trust it. Pangea has not been audited by a third party, which is why the desktop app is GPLv3 on GitHub. Its keys are generated on your device.
If your current setup died this week and you want to try a different approach, there are five days free to test whether it actually holds on your network: see pricing.