Explainer
What is a VPN?
How does a VPN work, in plain English?
Normally your traffic goes through whatever network you are on (home router, café Wi-Fi, mobile carrier) straight to each website. Whoever runs that network, and your internet service provider (ISP), can see which sites you connect to.
With a VPN switched on, an app on your device wraps all of that traffic in encryption, meaning it is scrambled so only someone with the right key can read it, and sends it to a VPN server. The server unwraps it and forwards it on; replies return the same way.
Two things follow. First, the network you are sitting on sees one encrypted stream to one server, not your individual destinations. Second, websites see the VPN server's IP address (the numeric address that identifies a connection on the internet), so your real IP and rough location are hidden from them.
What does a VPN actually protect you from?
A VPN is good at hiding your traffic from the network directly around you. On shared or public Wi-Fi, other people on the network and whoever runs the hotspot cannot read your traffic or easily see which sites you visit. At home, your ISP sees that you are connected to a VPN, but not the sites you visit through it.
It also hides your home IP address from the sites and services you use. That limits how much they can infer about your location and makes it harder to link visits by IP alone.
One honest caveat: most websites already use HTTPS, which encrypts the contents of each page between your browser and the site. So the classic public Wi-Fi risk of someone reading your passwords off the air is much smaller than it once was. A VPN still hides which sites you visit and protects apps that do not encrypt properly, but it is no longer your only defence against eavesdroppers.
What doesn't a VPN protect you from?
A VPN does not make you anonymous. If you log in to an account, the site knows it is you no matter which IP address you arrive from. Cookies, browser fingerprinting (identifying you from your device's settings, fonts and screen size) and advertising IDs keep tracking you straight through a VPN.
It does not stop phishing. A fake login page steals your password just as well through a VPN. Nor does it stop malware, weak or reused passwords, or apps collecting data through permissions you granted.
And it does not remove the need for trust; it moves it. Everything your ISP could see, the VPN provider can now see. If the provider logs your activity, sells data or is breached, you may be worse off than without it. The Electronic Frontier Foundation's Surveillance Self-Defense guide makes the same point and warns that VPN advertising often oversells what these tools do.
Business VPN vs consumer VPN: what is the difference?
The original use of a VPN is remote access. A company runs a VPN gateway so staff working from home can reach internal systems, such as file shares, intranet sites or databases, as if they were in the office. Here the goal is to get into a private network, not to hide from the public internet.
Consumer VPN services flip this around. You pay a company for access to its servers so your browsing exits onto the public internet from them. The technology is similar, but the purpose, and who you are trusting, are different.
Business VPN gateways are a frequent target for attackers because they sit on the edge of a company's network. The US Cybersecurity and Infrastructure Security Agency (CISA) and the NSA have published guidance urging organisations to choose standards-based products, patch them quickly and use strong authentication.
Which VPN protocols matter: WireGuard, OpenVPN, IKEv2?
A protocol is the set of rules a VPN uses to build the tunnel and encrypt data. Apps usually choose for you, but the names are worth knowing.
WireGuard is the newest widely used protocol. It is deliberately small and simple, uses a fixed set of modern cryptography, and is built into the Linux kernel. Smaller code is easier to audit, and it tends to connect quickly. OpenVPN is older, open source and very well tested; it can run over the same port as ordinary HTTPS traffic, which helps on networks that block other VPNs. IKEv2/IPsec is a standards-based option built into many operating systems and is good at reconnecting when a phone switches between Wi-Fi and mobile data; the UK's NCSC uses IPsec in much of its own VPN guidance.
PPTP is an old protocol with well-known weaknesses and should be treated as obsolete. Do not rely on a service or router that only offers PPTP.
How do you judge whether a VPN provider is trustworthy?
Almost every service claims “no logs.” What matters is whether that has been checked: look for independent audits by a named firm, published reports, and a record of having no data to hand over when legally asked.
Check jurisdiction (which country's laws decide what courts can demand), who actually owns the company, and the business model. A service you pay for has a clear way to make money. A free service has to earn it somewhere, and the US Federal Trade Commission has warned that some free VPN apps carry ads, share data with third parties, or do not encrypt everything they claim to.
Then read the privacy policy, check the app's permissions, and confirm it offers a kill switch (which blocks traffic if the tunnel drops) and protects your DNS lookups (the requests that turn site names into addresses) so they do not leak outside the tunnel.
Is using a VPN legal?
In most countries, yes. Some governments restrict them, block them, or allow only state-approved services, so check local rules before travelling.
Two limits apply everywhere. Using a VPN does not make an illegal act legal. And some services, such as streaming platforms, may block VPN traffic or forbid it in their terms of service, even where the VPN itself is lawful.
What a VPN protects and what it doesn't
| Risk or goal | Does a VPN help? | Why |
|---|---|---|
| Others on public Wi-Fi seeing your traffic | Yes | Traffic is encrypted until it reaches the VPN server |
| Your ISP seeing which sites you visit | Yes | The ISP sees only a connection to the VPN server |
| Websites seeing your real IP address | Yes | Sites see the VPN server's IP instead |
| The VPN provider seeing your activity | No | The provider sits where your ISP used to |
| Tracking by cookies, logins and fingerprinting | No | These identify you regardless of IP address |
| Phishing pages and scam messages | No | A fake site works the same through a tunnel |
| Malware and malicious downloads | No | The VPN carries whatever you download |
| Weak or reused passwords | No | Use a password manager and two-factor authentication |
| Being anonymous online | No | It reduces some signals but does not remove identity |
Examples
- Checking email on airport Wi-Fi: a VPN stops the hotspot operator from seeing which services you connect to, while HTTPS already protects the message contents.
- A remote employee connecting to a company VPN to open files on the office file server.
- Someone logging in to a social network through a VPN: the network still knows exactly who they are because they signed in.
- A free VPN app that shows ads and asks for access to contacts: a sign the app's business model may depend on your data.
- A traveller using a VPN to reach their home bank's website, which blocks logins from unfamiliar countries.
Common questions
Do I need a VPN at home?
Usually not for safety. Your home network is under your control and most sites use HTTPS. A VPN at home mainly hides your browsing destinations from your ISP and your IP from websites. Whether that is worth it depends on whether you trust the VPN provider more than your ISP.
Does a VPN slow down your internet?
Usually a little. Traffic takes a detour through the VPN server and gets encrypted, which adds delay. A nearby server and a modern protocol such as WireGuard keep the slowdown small.
Can my employer see what I do on a work VPN?
Assume yes. A work VPN sends your traffic through company systems, which may log and inspect it. Keep personal browsing on personal devices.
Does incognito mode do the same thing as a VPN?
No. Private browsing only stops your browser saving history and cookies on your device after you close the window. Your network, ISP and the sites you visit still see your traffic and IP address. A VPN changes what the network sees; incognito changes what your device keeps.
Are free VPNs safe?
Some are, many are not. Running servers costs money, so a free service may pay for itself with ads, data sharing or limited features. The FTC has warned that some VPN apps share information with third parties or fail to encrypt traffic. Read the privacy policy and look for independent audits.
Can police or governments see through a VPN?
They cannot read the encrypted tunnel on your local network, but they can ask the VPN provider for records, and they can still obtain data from the websites and accounts you use. A provider's real logging practices and legal jurisdiction matter more than its marketing.
Sources and further reading
- Choosing the VPN That's Right for You — Electronic Frontier Foundation (Surveillance Self-Defense)
- FTC Provides Tips on Using VPN Apps — US Federal Trade Commission
- Device security guidance: Virtual private networks — UK National Cyber Security Centre
- CISA and NSA Release Guidance on Selecting and Hardening VPNs — Cybersecurity and Infrastructure Security Agency
- WireGuard: fast, modern, secure VPN tunnel — WireGuard project
Glossary terms
- VPN
A VPN (virtual private network) encrypts internet traffic and sends it through a remote server before it reaches the wider web.
- Encryption
Encryption transforms readable data into scrambled form that requires a key to unlock, protecting information in storage or in transit from casual interception.
- Phishing
Phishing is a social-engineering attack that tricks people into revealing secrets or taking unsafe actions by impersonating trusted sources.
Keep reading
- What are cookies on websites?
A cookie is a small piece of text that a website asks your browser to store and send back on later visits. Cookies keep you logged in, remember your basket and settings, and measure traffic. Third-party cookies, set by companies other than the site you are on, can also be used to follow you across many sites for advertising.
- Cookies vs local storage
Cookies are small values (about 4 KB each) that the browser sends to the server automatically with matching requests, and they can be hidden from JavaScript with HttpOnly. Local storage holds around 5 MiB of strings per origin, is never sent automatically, and is always readable by any script on the page. Use cookies for sessions, localStorage for client-only state.
- What is phishing?
Phishing is a scam in which someone pretends to be a trusted person or organisation to trick you into revealing passwords or payment details, clicking a harmful link, or sending money. It arrives by email, text, phone call, social media or QR code, and usually relies on urgency or fear to make you act fast.
- What is two-factor authentication?
Two-factor authentication (2FA) is a login check that asks for two different kinds of proof: usually your password plus something you have, such as your phone or a security key. If criminals steal your password, they still cannot get in without the second factor. Passkeys and hardware security keys are the strongest forms.
- What is a password manager?
A password manager is an app that creates, stores and fills in your passwords for you. Your logins are kept in an encrypted vault that you unlock with one master password, a device PIN or your fingerprint. It lets you use a different strong password on every site without having to remember any of them.
- What are app permissions?
App permissions are the device or browser gates that control what an app can access—camera, microphone, location, photos, contacts, notifications, and more. Good hygiene means granting only what the feature needs, when it needs it.