A VPN (virtual private network) encrypts the traffic between your device and the VPN company's server, so the network you are on can't read it. That is useful on airport, plane and hotel Wi-Fi, but less essential than it once was, because most websites and apps already encrypt what you send. Some countries also restrict VPNs. This guide covers what a VPN does and doesn't do, the rules in mainland China and the United Arab Emirates as their official texts state them, and what to look for when you choose one.
1. What a VPN does on public Wi-Fi, and what it doesn't
On an open network at the airport, on board or in a hotel, you can't easily tell who runs it. A VPN puts an encrypted tunnel between your device and the VPN server, so the hotspot only sees that you are connected to a VPN.
- Most traffic is already encrypted. The US Federal Trade Commission says that, because of the widespread use of encryption, connecting through a public Wi-Fi network is usually safe. It advises looking for the lock symbol or "https" in the address bar.
- When logging in, a VPN adds a layer. The UK's National Cyber Security Centre (NCSC) advises using public Wi-Fi only for browsing, and using a VPN if you need to log on to web services or work systems. It also advises keeping VPN software up to date.
- Fake hotspots. The NCSC describes the "evil twin": a network set up by an attacker with the same or a similar name as the real one. The only sure way to know which network is real is to ask the staff, and the NCSC says a VPN can prevent this type of attack.
- Thailand's advice. The Electronic Transactions Development Agency (ETDA) advises using a VPN when you connect to public Wi-Fi, because it encrypts your data and protects it from interception on public networks such as cafés or airports.
A VPN does not stop phishing or malware, and it does not make you anonymous: the VPN company carries your traffic instead of the hotspot. That is why the choice of provider matters (section 4).
2. Mainland China
This section covers mainland China only, including Beijing, Shanghai, Guangzhou, Shenzhen, Chengdu, Xi'an, Kunming, Chongqing and Hangzhou. The rules come from three official texts:
- The 1996 international networking regulations (State Council, amended 1997), Article 6: computer networks that connect internationally must use the international gateways of the national public telecommunications network, and no organisation or individual may set up or use other channels for international connections. Under Article 14, a breach can lead the police to order the connection stopped and give a warning, with a possible fine of up to CNY 15,000 and confiscation of any illegal income.
- The 2017 notice of the Ministry of Industry and Information Technology (MIIT) (No. 32 of 2017): without approval from the telecoms authority, no one may set up or rent dedicated lines, including VPNs, or other channels to run cross-border business. International lines rented from the state telecom operators are for the customer's own internal office use.
- The UK government's travel advice for China (FCDO, updated 27 August 2026): the authorities control internet access, some services are permanently blocked, including Google, Facebook, YouTube and X, and access can be limited around key political events and dates. It adds that China's cybersecurity laws state that online products and services, for example VPNs, need to be licensed by the Chinese government.
The official texts we found don't say how these rules are applied to short-term visitors, so we don't guess. Check your government's current travel advice before you go.
3. United Arab Emirates
This section covers the whole UAE, including Dubai, Abu Dhabi and Sharjah. The main law is Federal Decree-Law No. 34 of 2021 on Combatting Rumours and Cybercrimes, in force since 2 January 2022. It replaced the 2012 cybercrime law.
- Article 10 (in the English translation published by Abu Dhabi Global Market): "Whoever circumvents an IP Address through the use of an IP address of others or any other means with the intention of committing or to preventing detection of a crime shall be punished with temporary imprisonment and/or a fine of not less than (AED 500,000) five hundred thousand dirhams or more than (AED 2,000,000) two million dirhams." The official text is in Arabic. The article does not name VPNs; it is about hiding your address in order to commit or hide a crime.
- The regulator's internet access policy (TDRA, version 1.0, 2017) lists "bypassing and accessing blocked content" first among its prohibited content categories. That category includes proxy servers and VPN services that mainly allow access to prohibited content.
- Business use: in a statement on 31 July 2016, under the previous law, the regulator (then called the TRA) said no regulations prevent companies, institutions and banks from using VPNs to reach their internal networks, and that misuse can lead to legal accountability.
Neither text bans VPNs by name: Article 10 is about committing or hiding a crime, and the policy is about VPN services that mainly give access to prohibited content. The sources don't list which uses are allowed or say how the law is applied to visitors, so check your government's current travel advice before you go.
4. How to choose a VPN
- A no-logs policy with an independent audit. A promise not to keep logs is easy to make; a published report from an outside auditor is better evidence.
- Where the company is based. The provider answers to the law of its home country, including any rules on keeping data.
- Apps for your devices. Check that it works on your phone, laptop and tablet before you travel.
- The law where you are going. Read sections 2 and 3 if you fly to mainland China or the UAE, and your government's travel advice for other destinations.
Proton VPN
See Proton VPN plansPartner link: we may earn a commission, at no extra cost to you. Whether you may use a VPN at your destination depends on local law: see sections 2 and 3.
5. Before you fly
For what to pack and what to check before departure, see before you fly and what you can't bring on a plane.
This guide explains what official sources say; it is not legal advice. Laws and how they are enforced can change, and the authorities of each country have the final say. The sources are listed below, with their dates.