Short answer
A VPN (virtual private network) creates an encrypted tunnel from your device to a VPN server and sends your internet traffic through it. Websites then see the VPN server's IP address and location instead of yours, and your ISP or the Wi-Fi owner sees only encrypted traffic to the VPN. It does not make you anonymous: the VPN provider can see what the ISP no longer can, and cookies and logins still identify you.
How a VPN works
VPN software on your device wraps every packet in an encrypted envelope addressed to the VPN server, using a protocol such as WireGuard, OpenVPN or IPsec/IKEv2. The server unwraps it and sends it to the real destination from its own address. Replies come back the same way.
without VPN: you (ISP address) ───────────────→ website
with VPN: you ══ encrypted ══→ VPN server ──→ website
(website sees this address)
Companies use VPNs the other way round, to let staff reach the internal office network from home. Consumer VPNs are mainly about privacy on untrusted networks and about appearing in another country.
What changes in an IP lookup
Look yourself up on What is my IP? with the VPN off and on. With it on, typically:
- the IP address and location become the VPN server's, often in a capital or a big data-centre city;
- the ISP and ASN change to a hosting company, such as a cloud provider, rather than your home ISP;
connection.typeoften becomeshosting, and thesecurityflags may showis_vpn,is_cloud_providerandis_anonymous.
Those flags are how sites spot VPN users; see how VPN and proxy detection works. Some VPNs use residential or freshly rented addresses that are not yet listed, so detection is never certain.
What a VPN hides, and what it does not
| Hidden from… | What |
|---|---|
| Websites | Your real IP address, ISP and approximate location |
| Your ISP or Wi-Fi owner | Which sites you visit and what DNS lookups you make (if DNS goes through the tunnel) |
A VPN does not hide:
- your identity when you log in to an account, or the tracking done by cookies and browser fingerprinting;
- your browsing from the VPN provider, which now sits where your ISP was, so its policies and trustworthiness matter;
- signals such as your browser's time zone and language, which can contradict the VPN's country;
- the fact that you use a VPN: your ISP can see the connection to the VPN server.
Leaks
A VPN only helps if everything goes through it. Common leaks:
- DNS leaks: name lookups still go to your ISP's resolver outside the tunnel, revealing the sites you visit.
- IPv6 leaks: the VPN tunnels IPv4 only, while IPv6 traffic goes out directly with your real address.
- WebRTC leaks: the browser reveals another address during real-time connection setup; see what is a WebRTC leak.
- Dropped tunnel: if the connection drops, traffic may flow unprotected until it reconnects. A "kill switch" blocks traffic instead.
The privacy check on this site tests for WebRTC leaks, VPN detection and time zone or language mismatches in one go.
VPN, proxy, Tor or relay?
A VPN covers all traffic from the device. A proxy usually covers one app or browser. Tor sends traffic through three volunteer relays so that no single one knows both who you are and where you go, which is more private but slower. Privacy relays such as iCloud Private Relay split the job between two companies and keep your approximate region. Each shows up differently in IP data: is_vpn, is_proxy, is_tor or is_relay.
[ FAQ ]
Frequently asked questions
Does a VPN make me anonymous?
No. It hides your IP address from websites and your browsing from your ISP, but the VPN provider can see your traffic, and logins, cookies and browser fingerprints can still identify you.
Why do some websites block VPNs?
Streaming services enforce regional licences, and banks and shops see more fraud from anonymised addresses. They detect VPNs mostly because their addresses belong to hosting networks or appear on lists of known VPN servers.
How do I check that my VPN is working?
Open a what-is-my-IP page with the VPN off and on. The address, ISP and location should change to the VPN server's. Then run a leak test for WebRTC, DNS and IPv6 to make sure your real address is not exposed another way.
Is a free VPN safe?
Some are, many are not. A VPN provider can see all your traffic, so a free service that has to make money in other ways may log, sell data or inject ads. Check who runs it and its privacy policy.
Last updated · All articles · API docs