What is a VPN and how does it work?
A VPN (virtual private network) is an encrypted tunnel between your device and a server run by the VPN service. Your traffic goes through the tunnel, and the internet sees the server's address instead of yours.
The short version
Without a VPN, your device talks to websites directly. The network you are on (home internet provider, café Wi-Fi, mobile carrier) can see which sites you connect to, and the sites see your IP address, which reveals your rough location and provider.
With a VPN switched on, your device first opens an encrypted connection to a VPN server. Everything you send goes inside that connection. The local network only sees encrypted data going to one server, and the websites you visit see the server's address.
What happens step by step
- Your device and the VPN server agree on keys. With WireGuard each side has a key pair, and the server only accepts devices whose public key it knows.
- Your device wraps every packet in encryption and sends it to the server.
- The server unwraps it and sends it on to the website, using its own address.
- Replies come back to the server, which encrypts them and sends them to you.
What a VPN protects
- Your connection on public Wi-Fi. Others on the same network cannot read or tamper with your traffic.
- Your browsing from your internet provider. They see that you use a VPN, not which sites you visit.
- Your IP address from websites. Sites see the VPN server's address and location.
- Your usual services while travelling. Connect to a server at home and banking apps, government portals and local shops behave as they do at home.
What a VPN does not do
A VPN is one layer of privacy, not all of it. If you sign in to an account, that site still knows it is you. Cookies and browser fingerprinting still work. A VPN does not remove malware or stop phishing emails. Use it alongside good passwords, updates and two-factor sign-in.
WireGuard, OpenVPN and other protocols
The protocol is the method the tunnel uses. WireGuard is the modern choice: small, fast and well reviewed. OpenVPN is older and slower but works almost everywhere. IKEv2 is built into many phones. Avoid PPTP, which is no longer considered secure. CheapVPN offers WireGuard and OpenVPN on every server, plus IKEv2 for devices without an app.
Is a cheap VPN worth it?
For most people, yes, if it uses a modern protocol, has a clear no-logs policy, no data cap and enough devices. Read our guide to choosing a cheap VPN for a checklist, or see CheapVPN pricing.
Ready for a VPN that costs less?
10 devices, 53 countries and no activity logs from $1.67 a month. Pay once, connect in minutes.
Get CheapVPN