Staying Connected in China
I recently spent some time in China, and because I wanted to be able to work while I was there, I had to consider a strategy for staying connected to the wider internet. In case you are living under a rock, the internet in China is heavily filtered: If you’re visiting as a foreigner, nobody will kick in your door because you try to visit the “wrong” site, but it won’t load either. I haven’t encountered any scary “This site is forbidden” page that you might have seen in some countries, but I have been presented with a page-loading indicator that will never finish.
So, if you are planning to visit China (to which I say: do it, it’s fascinating!), you will need to plan in advance because you might not be able to download a VPN client once you are inside the country.
VPN
VPNs aren’t some sort of mysterious witchcraft anymore; you might even already have one. There are two options: Either you have your own VPN tunnel endpoint on something like your home router or server, or you are using a commercial provider. Both have trade-offs: With a VPN provider, you have to trust them enough to route all your traffic through their servers. A domestic VPN endpoint on the other hand, is usually on a residential network, which can have really poor throughput and latency once you connect across the planet from another residential or mobile ISP1. If I am going on vacation to France, a home VPN might work fine, but across the planet, a VPN that has hosted edge servers somewhere close to your travel destination is a better idea.
For users of iCloud+: You might be used to having iCloud Private Relay, which proxies some of your traffic: It does not work in mainland China. You need something else.
I have once again turned to Mullvad as VPN provider for my needs2: They charge 5 euros/month, with no auto-renewal; you can even send them cash in an envelope in case you are terminally paranoid. You can use it on five devices, so your laptop, phone, and internet-enabled kettle can all be connected.3
If you’re using Tailscale, you can purchase Mullvad as an add-on, which allows you to stay connected to your Tailnet, while all internet traffic goes through a proxy. I haven’t used this option, because a) I forgot about it and b) the Mullvad client has some anti-censorship avoidance, which I wanted to have in my back pocket. Tailscale itself definitely let me connect to the devices I left home.
Information about what works and doesn’t work inside China is often conflicting. I assume this is because stuff changes all the time and because people often get confused and don’t really understand what is really happening. When people say that “VPNs are blocked”, it’s often that their hotel Wi-Fi is crap or overloaded because a conference is happening downstairs.
Mullvad, like many other commercial VPNs these days, uses Wireguard under the hood, which is easily detectable from the perspective of an ISP: The contents are safe, but somebody observing your traffic knows that you are talking over an encrypted tunnel. WireGuard doesn’t have a standard port, so it’s possible to listen on UDP/53, the same port as DNS, but any even slightly sophisticated filtering system will still be able to tell what’s really going on. Therefore, some VPNs use Shadowsocks or disguise their traffic as QUIC to circumvent filtering.
I have definitely seen my Mullvad client iterating through several circumvention options. But again, this might have been the crappy hotel Wi-Fi (Hilton, please get your shit together).
Mobile Network
My preferred option, though, was to use a mobile phone network, even when stationary. You can either buy an eSIM (again, before you actually land in China) or use your home network provider. Even Deutsche Telekom, which used to be happy to make your monthly bill look like a phone number when you even dared to use data abroad, has some reasonably priced roaming packages these days.
When you roam through your home mobile provider, your traffic will be proxied through their network, kind of like a VPN, so you do not have to worry about internet filtering.
An eSIM was the option I chose. I have used different eSIM apps in the past, with mixed results: Some worked ok, one left me hanging after a couple of days, and one seemed to route all my traffic from the US to Hong Kong. Suffice it to say that I had no house brand eSIM, because none worked in more than one country.
This time I chose to book through Trip.com, which offers plans with 100GB of traffic per day, limited to 10Mbps. It seemed to use a Singaporean provider that has mobile roaming in China. I didn’t notice any internet filtering going on. It worked very reliably, with the advertised bandwidth. Definite recommendation.4
If you have a sufficiently recent iPhone, you can have two eSIMs being active at the same time. If you enable “Wi-Fi Calling” this allows you to call and receive SMS on your main line, even when only your travel eSIM has a network.
Connected to China
If you are one of these Captain Olds who think, “I can get by without mobile internet for a couple of days”, you cannot in China. This is not a 20th-century country based on paper money.
First of all, Western/global maps are basically meaningless in China. Despite being an OpenStreetMap enthusiast, I did not use it because it’s mostly out of date. Whole new parts of town show a blank map. Luckily, Apple Maps switches to China mode once you’re inside the country. This uses Amap data, which allows you to search for POIs and get around with public transport. It has also the added benefit of not having a craptastically crazy UI.
Speaking of craptastically crazy UIs: Alipay is non-negotiable. Get it before you go to China, add your credit card to it, and identify yourself with your passport. Your plastic or paper money is no good here: The only places I was able to pay with VISA were 1) hotels, 2) the metro, and 3) some international brand boutiques. Any cafe, restaurant or shop accepts Alipay. Most places use the QR code feature, where either the vendor scans your QR code and the payment is settled, or in rarer cases you scan the vendor’s code and type in the amount. More and more places also have an NFC tag that you tap with your phone and confirm the payment on your screen.
Many restaurants do not have printed menus: Once you get to your seat, you scan the QR code on the table using the Alipay app, place your order and pay immediately. Luckin Coffee for example doesn’t even take your order at the counter: You order your coffee from a mini-app inside Alipay while on the way there and just pick up the cup from the counter.
Most of these in-app menus work well while you’re on a roaming mobile connection. In very rare cases, the mini-app won’t load in which case you can usually use the restaurant’s Wi-Fi.
If you don’t want to use public transport (which you should at least try), you can use “DiDi” which offers a cheap, reliable ride-hailing service. It’s also available through Alipay, you don’t have to download the standalone app from the App Store. You pay directly inside the app, so there’s no confusion about the fare. Fun fact: If instead you opt for a taxi and try to pay by credit card, the taxi driver may look at your card like an alien artifact.
Some services will not work, or will require so much fiddling that you might give up: Food delivery or online shopping are omni-present, but may require a Chinese phone number, and/or are exclusively in Chinese. Alipay has a translation function that automatically translates mini-apps. It sometimes works and has the quality of Google Translate anno 2012.
China has become really accessible: Citizens of some countries can travel completely visa free and with a much easier landing procedure than, for example, in the US. Convenience apps and payment are mostly available to foreigners without crude hacks. Translation apps, meanwhile smooth out the rest of the bumps. Fascinating place.
-
In my experience, the interconnect between my home ISP and e.g. AWS is really good, but the link between my home and some hotel network is often so limited that I don’t want to use for anything more than checking my email. ↩︎
-
This is not an ad. I am not being paid. There are no affiliate links. ↩︎
-
Yes, I have accidentally bought an internet connected kettle. No, it does not run Mullvad as far as I can tell. ↩︎
-
Again, this is not an ad. I am not being paid. ↩︎