Online Privacy

What a VPN Does and Does Not Do

A plain account of what a VPN hides, what it leaves exposed, and when turning one on is actually worth it.

Key takeaways

  • A VPN hides your destinations from your local network and internet provider, and hides your IP address from the sites you visit.
  • The VPN operator sits where your provider used to, so you're moving trust and not removing it.
  • Cookies, logins and browser fingerprints identify you just as well with a VPN on.
  • HTTPS already encrypts most web content, so judge a VPN by the specific problem you want solved.

A VPN, or virtual private network, creates an encrypted tunnel from your device to a VPN server, and your internet traffic travels through it. People on your local network and your internet provider see that you're connected to the VPN but not which sites you reach through it. Websites see the VPN server's address instead of yours.

That's useful and narrower than much advertising implies. A VPN doesn't make you anonymous, block most tracking, stop malware or protect an account with a weak password.

How the tunnel works

Your VPN software creates a virtual network interface. The operating system sends traffic into it. The software encrypts each packet and wraps it inside another packet addressed to the VPN server. The server unwraps it, then forwards your original traffic to its destination, replacing your address with its own. Replies come back the same way.

Common protocols include WireGuard, OpenVPN and IPsec with IKEv2, compared in WireGuard vs. OpenVPN vs. IPsec.

A web request through a VPN
Your device Local network and ISP VPN server Website Encrypted tunnel packet 1 The ISP carries it but cannot read inside Your request, from the VPN's address 2 Reply to the VPN 3 Reply, wrapped and encrypted 4 Your device Local network and ISP VPN server Website Encrypted tunnel packet 1 The ISP carries it but cannot read inside Your request, from the VPN's address 2 Reply to the VPN 3 Reply, wrapped and encrypted 4

Two kinds of VPN

The same technology serves two different jobs.

A remote access VPN connects you into a private network, such as your office or your home, so you can reach files and systems there. Self-hosting a VPN to reach home describes that use.

A commercial or consumer VPN service routes your general internet traffic through the company's servers. This is what most ads sell. The rest of this article is mostly about this kind.

What it genuinely does

Hides browsing destinations from your local network. On hotel, airport or café Wi-Fi, the operator sees a connection to the VPN and the amount of data, not the list of sites.

Hides them from your internet provider. Your provider still knows you use a VPN, when and how much. See what your internet provider can see.

Changes your apparent IP address and location. Sites see the server's address. That reduces what your IP address reveals, such as your town and provider.

Protects unencrypted protocols on the first leg. If some old app sends plain data, the tunnel shields it as far as the VPN server. After that it travels as before.

Reaches networks that are otherwise closed to you. For work or home access, that's the whole point.

What it does not do

It doesn't make you anonymous. The provider knows your real address and often your payment details. Sites know you if you sign in.

It doesn't stop cookies, pixels or fingerprinting. Those work inside your browser. How websites track you lists the defenses that do apply.

It doesn't block phishing or malware in any reliable, general way. Some services add domain filtering, which helps with known bad sites only.

It doesn't encrypt traffic end to end. Encryption stops at the VPN server. HTTPS is what protects the conversation all the way to a website.

It doesn't protect a compromised device. Software spying on your computer sees data before it enters the tunnel.

It doesn't control what a service does with your account data.

VPN: covered and not covered
Changes What your ISP and Wi-Fi operator can see The IP address websites receive Access to a private network Does not change Cookies, logins and fingerprints Phishing pages and malicious downloads What the sites you use store about you Spyware already on your device VS Changes What your ISP and Wi-Fi operator can see The IP address websites receive Access to a private network Does not change Cookies, logins and fingerprints Phishing pages and malicious downloads What the sites you use store about you Spyware already on your device

Trust moves to the operator

Without a VPN, your provider can observe your connection metadata. With one, the VPN company can. It may promise not to keep logs. You can't verify that from your side. Independent audits, a clear company identity, published transparency reports and a track record help you judge, none perfectly.

Free services deserve particular care, since servers and bandwidth cost money and something has to pay for them. How to choose a VPN gives a checklist.

Who sees what, with and without

It helps to line up the observers. The table assumes a typical HTTPS website and a correctly working VPN.

Observer Without a VPN With a VPN
Local network operator Domains you contact, timing, volume VPN server address, timing, volume
Internet provider Same as above, tied to your account That you use a VPN, timing, volume
VPN operator Nothing Domains you contact, your real address
Website Your IP address and what you do there VPN address and what you do there
Advertising scripts Cookies, fingerprint, IP address Cookies, fingerprint, VPN address

Two things stand out. First, page contents aren't in any observer's column except the website's, because HTTPS handles that. Second, the VPN doesn't remove an observer. It moves the view of your destinations from the network and provider to the operator.

A worked example

Say you're at an airport and want to check your bank and read the news. Your banking app already encrypts its connection and checks the server's identity. A VPN adds little protection to the contents, but it keeps the airport network from learning which services you use.

Say instead you search for a health topic and then see related ads at home. A VPN wouldn't have prevented that if the same browser, with the same cookies or login, did the searching. A separate profile, signed out, with third-party cookies blocked would address the actual link.

And say you receive a convincing message asking you to "verify" a password. The tunnel will faithfully deliver you to the fake page. Checking the address and using a password manager that refuses to fill on the wrong domain are the defenses that matter there.

Public Wi-Fi in perspective

Warnings about public Wi-Fi often date from when much web traffic was unencrypted. Today most sites and apps use HTTPS, so a nearby snoop generally can't read page contents or passwords on those connections.

Some exposure remains. Observers may learn which domains you contact through DNS queries or the server name sent when a secure connection starts, unless those are separately protected. A fake hotspot can show a deceptive sign-in page. A VPN addresses the first well and the second only partly: it can't stop you typing a password into a convincing portal before it connects. Heed browser certificate warnings either way.

Leaks and limits

A VPN can leak. Check these:

  • DNS leaks: lookups go outside the tunnel to your provider's resolver.
  • IPv6 leaks: IPv4 goes through the tunnel while IPv6 goes around it.
  • WebRTC exposure: some browser setups can reveal local or public addresses to pages.
  • Drops: if the tunnel fails, traffic may resume unprotected unless a kill switch blocks it.

To check, note your public addresses with the VPN off, turn it on and look again. The request header echo shows what a server receives, and a reputable leak test page will also show the resolvers in use.

Testing your setup

After installing a VPN, spend five minutes confirming it behaves as you expect.

  1. With the VPN off, note your public IPv4 address and, if you have one, your IPv6 address.
  2. Turn it on and check again. Both should show addresses that aren't yours, or IPv6 should be unavailable.
  3. Look at which DNS resolvers are in use. They should belong to the VPN or to a resolver you chose on purpose, not to your provider.
  4. Enable the kill switch, then switch between Wi-Fi and mobile data and watch whether traffic ever flows without the tunnel.
  5. Put the device to sleep, wake it and confirm the connection returns.

On Windows, ipconfig /all shows the virtual adapter and its DNS servers. On macOS and Linux, interface and resolver tools differ, but the same checks apply. Repeat them after major updates to the app or operating system, since network settings can change underneath you.

Costs

Expect some added latency because traffic takes a longer path, and possibly lower speed. A nearby server usually helps. Some sites challenge or block VPN addresses, banks may flag unusual locations and some streaming services restrict them. Using a VPN to get around a service's regional limits may breach its terms.

Laws on VPN use differ by country; some restrict or require approval for services. Check local rules before relying on one while traveling.

Do you need one?

It's worth considering if you often use networks you don't trust, prefer your provider not to see your destinations, want sites not to receive your home address or need to reach a private network.

It's probably not the first priority if your worry is hacked accounts or scams. Updates, unique passwords, two-step sign-in and wariness about links do far more there. And if you need strong anonymity against capable adversaries, a single VPN company is a weak foundation; Tor is designed for a different threat, with its own limits.

Common questions

Should I leave it on all the time?

If its job is privacy from networks and your provider, always-on is consistent. If it breaks local printers or bank logins, use split tunneling to exempt specific apps, understanding that exempted traffic isn't covered.

Does a VPN use more mobile data?

Somewhat, since encryption and wrapping add overhead to every packet, and reconnections add a little more. The extra is usually modest.

Can my employer see my traffic through my personal VPN?

On an employer-managed device, monitoring software can see activity before it's encrypted. Assume work devices and work policies apply regardless of any VPN you add.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Online Privacy →

Latest news on this topic