Working remotely can be beautiful. Working as a developer whilst travelling is amazing, whether working remotely or on personal projects. Unfortunately the Great Firewall of China can make things a bit more tricky.
The Great Firewall of China is a nickname for the internet censorship system that the Chinese government have put in place. It limits access to websites, apps, social media and email providers that the government deem inappropriate or offensive. China first got the internet in 1994 and by 1997 they had issued regulations giving them power to censor almost anything on the internet.
The whole premise of the internet censorship is based around a quote by Deng Xiaopeng:
“If you open the window for fresh air, you have to expect some flies to fly in” — Deng Xiaopeng
This can be seen with the blocking of a lot of websites from western countries; Facebook, Google, Twitter and even Medium are all blocked. The Chinese communist party leader, Xi Jinping, wants to keep Chinese culture pure from western influence. Whist this is true, there are a lot of western websites that go through the firewall without trouble. The Chinese government also block websites that store user information. One way to get around this block is to give the government access to that data. WhatsApp has recently been added to the block list. It is thought to be because WhatsApp wouldn’t provide a backdoor or the encryption keys. This was enough for it to infringe on the regulations.
There is NO GOOGLE! I never realised how dependent I had become on Google until I came to China. Wanting to quickly Google the use of a function in a library, search for the fix for an error message or getting to the right page on MDN? Not without a VPN you won’t (talk about this soon).
Other frustrating limitations for developers that I’ve already encountered include inability to use any of the usual oAuth methods (Google, Facebook or Twitter), no access to Firebase, the Heroku website (although the CLI seems to work), Dropbox and Slack.
Currently Bing.com does work in China, and I’ve come to realise why Google has dominated the rest of the world. Bing is pretty crap. I expect that this is exacerbated by the limitations that the Chinese government will be placing on Bing to allow it into the country. I tried switching to Bing as my default search engine but after a week or two, had to go back to Google and a VPN.
What Does Work?
Even with the tight restrictions on a lot of western websites, there are a few very useful ones. The most useful sites that still work are: Github, Udemy and Mozilla Developer Network. I’m sure there are loads more but these are the ones I use most.
VPNs (Virtual Private Networks) are the best way to access the sites that you know and love, circumventing the Great Firewall. There are loads of options out there, from free apps and software to $12/month subscriptions to setting up your own. I’m going to talk about the first two.
The two most popular VPN services in China are ExpressVPN and NordVPN. They both have pretty Windows apps and both run from the terminal in Linux (although ExpressVPN is far easier on Linux). I’ve used both on this trip so far and they’ve both had their pros and cons. If you want to save yourself a few bucks a month and are planning a long stay in China, they both offer contracts for 6 or 12 months giving you a hefty discount on the monthly subscription. I’m not going to analyse the performance of them here, there are loads of sites dedicated to comparing different VPN providers.
Both of these providers also have android and iOS apps and allow either 3 or 6 concurrent connections. Having tried both of the apps on android, I have ended up using a free app called TurboVPN. It says on the site that ‘ this service can not be used in China’ although it is still working for me. The apps for the paid services seem to take longer to connect and drop out more frequently than TurboVPN and I have tried to ask the paid providers why but have never had a decent response.
Whist using all of the apps, I have noticed a significant difference between my connection when on a wireless network, compared with 4G. I bought a local sim card in China and find the 4G to be able to connect to my VPNs much better than when on WIFI.
In the middle of October was a Communist Party conference and in preparation for that, the firewall had a few major upgrades. To make sure there were no protests or riots, the government added WhatsApp to the blocked list. This is because its encrypted service has been used to organise protests in the past. As well as blocking an increased number of messaging services, the control over VPN use was significantly increased. For about 2 weeks I couldn’t use any of my paid VPN services. Fortunately my TurboVPN app somehow still worked but this put a massive roadblock in a lot of my work. The VPN services have updated their software since and seem to working more effectively, but it’s just a cat and mouse chase between the firewall and the VPN providers.
I believe that the government are targeting the larger, paid services and the traditional internet networks at this time. This would explain why TurboVPN still worked whist all of the others didn’t, and why 4G is better than WIFI. There have been rumours that legislation is being prepared stating that internet service providers will need to block any VPN traffic, which would change the internet access issues in China massively.
Travelling and working is an amazing combination, whether working remotely, working on personal projects or saving up and and then learning new skills whist travelling the world, I would fully recommend it. Although if you are planning to visit China, get a VPN (or a few) sorted before you come. Setting up a VPN in China is very difficult and life without a VPN here is tricky, work without a VPN is near impossible.
The Chinese government are tightening their grip on the internet and closing the loophole that have been traditionally exploited. It might not be long before they have full control, unless you are a top hacker.
If you are considering relocating for more than about a month, maybe consider somewhere other than China. Hong Kong is a good choice as it has no firewall and you can still travel to the best places in China easily.
If you liked this article please like it to spread the word and follow me for more posts about working and travelling.
Originally posted on Medium.com