Privacy & VPN

What is a VPN?

A VPN sends your internet traffic through an encrypted tunnel to a server run by the VPN provider, so the networks in between see only scrambled data and the websites you visit see the server's address instead of yours. This guide explains what that actually protects, what it does not, when it is worth paying for, and how to check that yours works.

In this guide
Short answer

A VPN (virtual private network) is an app and a service that encrypt everything your device sends and route it through a server elsewhere. Result: your internet provider and the local Wi-Fi cannot see where you connect, and websites see the VPN server's IP address and location instead of yours. It does not make you anonymous (the VPN provider sees what your provider used to see), does not replace HTTPS, and does not stop cookies or logins from identifying you. Use it on networks you do not control and when you need to appear elsewhere; test it for DNS, WebRTC and IPv6 leaks, because a leaking VPN hides nothing.

How a VPN works

The VPN app on your device opens a connection to one of the provider's servers and agrees an encryption key with it, using a protocol such as WireGuard, OpenVPN or IKEv2/IPsec. From then on, every packet your device sends is wrapped inside that encrypted connection, the tunnel. Your home router, the café's Wi-Fi, your internet provider and every router between you and the VPN server see only encrypted traffic going to one address: the server. The server unwraps each packet and sends it on to its real destination with its own address as the source; replies travel back the same way.

Without a VPN, your device talks to the website through your internet provider, which sees the destination, and the website sees your address. With a VPN, an encrypted tunnel runs from your device through the provider to the VPN server; the provider sees only encrypted traffic to the VPN server, and the website sees the VPN server's address. Without a VPN Your deviceYour providerWebsite sees every destination sees your address · 203.0.113.42 With a VPN encrypted tunnel: the provider sees only scrambled traffic to the VPN server Your deviceYour providerVPN serverWebsite sees the server's address · 198.51.100.7
A VPN moves the point where your traffic enters the open internet from your provider to the VPN server. The provider loses sight of your destinations; the website sees the server instead of you.

Three consequences follow. To the website, you are the VPN server: its address, its country, its provider. To your internet provider, you are someone exchanging encrypted data with a VPN server; the destinations and the DNS lookups are inside the tunnel. And to the VPN provider, you are exactly as visible as you were to your ISP before: it sees every destination, so it is the one party you must trust. The original VPNs were corporate: a laptop at home joining the office network as if it were plugged in there, which is still what the "private network" in the name refers to. Consumer VPNs reuse the technology to change where your traffic enters the public internet.

Protocols matter less than marketing suggests. WireGuard is the modern choice: a small codebase, fast handshakes, modern ciphers (ChaCha20-Poly1305). OpenVPN is older, slower and supported everywhere. IKEv2/IPsec is built into phones and reconnects well when you move between Wi-Fi and mobile data. All three are secure when configured properly; the differences you will notice are speed and how quickly the tunnel recovers after a network change.

What a VPN hides (and what it doesn't)

Hidden from websites and services: your IP address and, with it, your approximate location, your provider and the type of your connection. They see the VPN server's instead, and many sites recognize it as a VPN address, because commercial VPN ranges are published and sit in hosting networks.

Hidden from your provider and the local network: every destination, every DNS lookup, every server name. They see the volume of encrypted traffic and the VPN server you talk to, nothing more. This is the VPN's strongest effect, and the reason to use one on public Wi-Fi.

Not hidden:

  • Who you are to sites you log in to. Your account, your cookies and your browser fingerprint identify you regardless of the address you arrive from. A VPN changes the address, not the person.
  • Anything from the VPN provider. It sees what your ISP used to see. A provider with a credible, audited no-logging policy keeps nothing; a free provider usually pays for itself with your data.
  • The content of your traffic after the server. Between the VPN server and the website, protection comes from HTTPS, exactly as without a VPN. The VPN's encryption ends at its server.
  • Traffic that goes around the tunnel. A DNS lookup sent to your provider's resolver, a WebRTC request from your browser's real interface, or IPv6 traffic the VPN does not carry all reach the internet with your real address. These are leaks, they are common, and they are what the tests on this site look for: what is a DNS leak and what is WebRTC cover the two most frequent.
  • Your time zone and language. The browser still reports your device's time zone and languages; a VPN address in one country with a device clock in another is a signal that fraud and streaming systems use.

In one sentence: a VPN hides your network location from websites and your destinations from the network, and nothing else.

When a VPN is worth it

Worth it:

  • On public or shared Wi-Fi: hotels, airports, cafés, conference venues. The tunnel removes the metadata the network could collect and defeats fake-network tricks (public Wi-Fi safety).
  • When you do not want your provider, a workplace or a landlord's network to see your destinations.
  • When you need to appear in another country for a service you are entitled to use, such as your own streaming subscription or your bank's site while traveling.
  • For remote access to a company or home network, the original use.
  • When your home connection sits behind carrier-grade NAT and you need a stable, reachable address; some VPN providers offer a dedicated address for this.

Not worth it:

  • As a general "security" layer on a trusted home network with HTTPS everywhere: there is little left for it to protect.
  • For anonymity. A VPN shifts trust from your ISP to the VPN provider; it does not remove the party that can see you. Tor exists for that, with its own trade-offs.
  • Because an advertisement said your data is "exposed". Your IP address is always visible to the sites you use; that is how the internet works, and it reveals less than the advert implies (what can someone do with your IP).

Costs to weigh: a monthly fee, somewhat lower speeds (a detour plus encryption; small with a nearby server and WireGuard, large with a distant or crowded one), captchas and blocks on sites that treat VPN addresses with suspicion, and the need to choose a provider you trust more than your ISP. Free VPNs that are not run by an organization you can name are usually the product being sold.

How to test your VPN

Connect the VPN, then look at the card below. The first line must show the VPN server's address and its provider, not your ISP; if it shows your ISP, the app is not carrying your traffic at all (common after a sleep or a network change). The WebRTC line should show either nothing or the same address as the first line; a second, different address is your real one leaking from the browser. The DNS line should list the VPN's resolver or a public one reached through the tunnel; your ISP's resolver there is a DNS leak. The IPv6 line should be empty or belong to the same network as the VPN address; an IPv6 address from your home provider means the VPN tunnels only IPv4.

The full VPN test runs the same checks with more detail and names the fix for each failure: most are a setting in the VPN app ("block DNS outside the tunnel", "kill switch", "disable IPv6") or a browser setting for WebRTC. Test on each device and browser separately, because the result belongs to that device, and test again after every app update. A VPN that passes once and leaks later is more common than one that never worked.

Test it now

Checking
IP websites see216.73.216.52
IPs exposed by WebRTC198.51.100.23
DNS resolvers seen2 resolvers
IPv62001:db8::1

Running against our own test servers. Nothing is stored.

Open the VPN test: is your VPN working?

Questions

Does a VPN hide my IP address?

From the websites and services you connect to, yes: they see the VPN server's address. From the VPN provider, no. And it hides it only for traffic that goes through the tunnel, so check for DNS, WebRTC and IPv6 leaks with the VPN test.

Does a VPN slow down internet speed?

A little, always: traffic takes a detour through the VPN server and is encrypted on the way. With a nearby server and WireGuard the loss is usually small; with a distant or overloaded server it can be large. Measure with the speed test with the VPN on and off.

Should your VPN be on or off?

On whenever you are on a network you do not control, or when you want your destinations hidden from the network operator; off is fine on a trusted home network unless you need the location change. Leaving it always on with the kill switch enabled is the safest default if the speed is acceptable.

Can anyone see my browsing history if I use a VPN?

Your ISP and the local network cannot. The VPN provider can see your destinations (not the content of HTTPS pages). The websites you log in to know what you do there regardless. A VPN is privacy from the network, not from the services you use.

Is there any downside to having a VPN?

Lower speed, a monthly cost, blocks and captchas on sites that distrust VPN addresses, and the need to trust the provider with the visibility your ISP had. Leaks are a risk too, which is why testing matters.

Can you detect if someone is using a VPN?

Often, yes. Commercial VPN exit addresses are on published lists and sit in hosting networks, so a site that checks either can tell a VPN is in use; a device time zone that does not match the address is another signal. What it cannot see is who is behind it. The proxy and VPN checker shows what a site would conclude about your connection.

Is using a VPN illegal in the US?

No. Using a VPN is legal in the United States, the European Union, the United Kingdom and most countries; what you do through it is subject to the same laws as without it, and a service's terms may forbid using one to change region. A few countries, including China, Russia, Iran, Belarus and Turkmenistan, restrict or license VPN use; check local rules before traveling.

Sources and further reading

  1. WireGuard: Next Generation Kernel Network Tunnel (NDSS 2017 paper)
  2. RFC 7296 — Internet Key Exchange Protocol Version 2 (IKEv2)
  3. RFC 4301 — Security Architecture for the Internet Protocol (IPsec)
  4. OpenVPN — community documentation
  5. RFC 8446 — The Transport Layer Security (TLS) Protocol Version 1.3 (what HTTPS relies on)
  6. RFC 8981 — IPv6 temporary addresses (why IPv6 outside a tunnel still identifies your network)
CheckMyIP Team
Network engineers and privacy researchers