What is a VPN?
A VPN (virtual private network) sends your internet traffic through an encrypted connection to a server run by the VPN provider. Websites and apps then see the VPN server's IP address and location instead of yours, and your internet provider sees only that you are connected to a VPN, not which sites you visit.
How a VPN works
Without a VPN, your traffic goes from your device through your internet provider straight to the website. Your provider can see which sites you connect to, and every site sees your IP address, which reveals your approximate location and your provider.
With a VPN:
- An app on your device opens an encrypted connection (a "tunnel") to a VPN server.
- All your traffic goes through the tunnel, so your provider and anyone on your Wi-Fi see only encrypted data going to the VPN server.
- The VPN server forwards your traffic to the websites you visit, using its own IP address.
- Replies come back the same way.
The catch: the VPN provider can now see what your internet provider used to see. Using a VPN moves your trust from your internet provider to the VPN company, so choosing a trustworthy one matters.
What people use a VPN for
- Hiding their IP address. Websites, advertisers and other people online, for example in games or file sharing, see the VPN server's address instead of yours.
- Privacy from their internet provider. Your provider can no longer see or log which sites you visit.
- Public Wi-Fi. On café, hotel and airport networks, a VPN stops the network owner and other users from seeing which sites you visit. Most websites already use HTTPS, which protects passwords and card numbers, so the benefit is smaller than it once was, but a VPN covers everything, including apps.
- Appearing to be in another country. Connecting to a server abroad lets you use your home services while travelling or see a site as it appears in another country. Streaming services often try to block VPNs and their terms may forbid it.
- Getting around censorship. In places where sites are blocked, a VPN can reach them. Some countries restrict or ban VPNs, so check local laws.
- Work. Companies use VPNs to give employees access to internal systems. These work the same way but connect you to the company network rather than to the open internet.
What a VPN doesn't do
- It doesn't make you anonymous. If you log in to a website, it knows who you are. Cookies, browser fingerprinting and accounts can still track you across sites.
- It doesn't protect you from malware or phishing. A fake login page is just as dangerous through a VPN. Some VPNs include blocking of known malicious sites, but it is no substitute for care and up-to-date software.
- It doesn't usually make your internet faster. Traffic takes a longer path and is encrypted, so expect speeds to drop a little, more with distant servers. The exception is when a provider deliberately slows certain traffic.
How to choose a VPN
- No-logs policy, independently audited. The provider should not keep records of what you do, and an outside audit gives some evidence that it is true.
- Modern protocols. WireGuard (or a provider's version of it) is fast and secure; OpenVPN is a well-tested alternative. Avoid PPTP, which is broken.
- Kill switch. Blocks your internet if the VPN connection drops, so your real IP address isn't exposed.
- DNS and IPv6 leak protection. Makes sure your DNS lookups and IPv6 traffic also go through the tunnel.
- Server locations and speed. Servers close to you are faster; servers in the countries you need matter if you use the VPN for travel or streaming.
- Apps for all your devices, and how many devices one subscription covers.
- Be careful with free VPNs. Running servers costs money, and some free VPNs pay for it by collecting and selling data or showing ads, the opposite of why you'd use one. A limited free plan from a reputable paid provider is a safer choice.
Check that your VPN works
- With the VPN off, open showmyip.dev and note your IP address and location.
- Turn the VPN on and reload the page. The IP address, location and network should now be the VPN server's.
- Run the WebRTC leak test on the home page. Browsers can reveal your real address through WebRTC, the technology behind video calls, even with a VPN on.
- If you use custom DNS or want to be thorough, run a DNS leak test to make sure your lookups go through the VPN too.
VPN, proxy or Tor?
| VPN | Proxy | Tor | |
|---|---|---|---|
| Hides your IP address | Yes | Yes | Yes |
| Covers | All apps on the device | Usually only the browser or one app | Usually only the Tor Browser |
| Encrypts traffic to the server | Yes | Often not | Yes, through three relays |
| Speed | Small slowdown | Small slowdown | Much slower |
| Who you trust | The VPN provider | The proxy operator | No single operator |
| Cost | Usually paid | Free or paid | Free |
VPN providers
Some links below are affiliate links: if you sign up through them, showmyip.dev may earn a commission at no extra cost to you.
- NordVPN: one of the largest providers, with servers in many countries and independently audited no-logs claims.
- Surfshark: allows unlimited devices on one subscription.
- MysteriumVPN: runs on a decentralised network of independently operated servers, including residential connections.
Last updated