SS Safe Surf Lab
vpnprivacyencryption

VPN Full Details: How It Works, What It Hides, and Its Limits

VPN full details in plain English: how encryption and tunneling work, the main protocols, what a VPN hides and what it doesn't, and how to check a provider.

SS Safe Surf Lab team · · 6 min read · 6 sources
Churchill Club Top 10 Tech Tech Trends Debate 2013 — I chose Deep Learning / Machine Learning
Photo: jurvetson (CC BY 2.0) via Openverse

A VPN (virtual private network) encrypts your internet traffic and sends it through a server run by the VPN provider. Your internet provider or the local Wi-Fi network sees only an encrypted connection to that server, and the websites you visit see the server’s IP address instead of yours. That’s the short version. The longer version matters, because a VPN protects some things well, some things poorly, and some not at all.

This guide covers how a VPN works, the main protocols, what it hides and what it doesn’t, and how to check a provider. It reflects what we could confirm as of November 2026.

How a VPN works

A VPN does two jobs: encryption and tunneling.

  1. Your device runs a VPN app (or a built-in VPN client) and opens a connection to a VPN server.
  2. Both sides agree on encryption keys. From then on, everything your device sends is encrypted before it leaves.
  3. The encrypted data is wrapped inside ordinary network packets addressed to the VPN server. That wrapping is the “tunnel.”
  4. The VPN server decrypts your traffic and forwards it to the website or service you asked for.
  5. Replies come back to the VPN server, which encrypts them and sends them down the tunnel to you.

In practice this means anyone between you and the VPN server, such as a café hotspot, your ISP, or a hotel network, sees encrypted data going to one address. Past the VPN server, your traffic travels normally. If a site uses HTTPS (most do), that layer of encryption still protects it from end to end.

The two kinds of VPN

People mean two different things by “VPN”:

  • Consumer VPN services. Apps you subscribe to for privacy on public Wi-Fi, hiding your browsing from your ISP, or appearing to be in another country.
  • Remote access VPNs. Run by employers so staff can reach internal company systems from home. These exist to connect you to a private network, not to hide you on the public internet.

The technology overlaps, but the advice is different. Most of this guide is about consumer VPNs, with a note on business VPNs below.

VPN protocols compared

The protocol is the set of rules your app uses to build the tunnel. Most apps choose one for you, but it helps to know the names.

ProtocolWhere you’ll see itNotes
WireGuardMany consumer apps, built into LinuxSmall codebase; part of the mainline Linux kernel since version 5.6
OpenVPNConsumer apps, self-hosted setupsLong-established, open source, much larger codebase than WireGuard
IKEv2/IPsecBuilt into most operating systems, business VPNsStandards-based; recommended by NSA/CISA for remote access
SSL/TLS VPNsMany corporate VPN productsOften proprietary; NSA/CISA advise organizations to prefer IKE/IPsec where feasible

WireGuard

WireGuard is known for being small and simple. Coverage of its arrival in the kernel, such as TechRadar’s report, puts its core code at about 4,000 lines, against roughly 100,000 for OpenVPN. Sources differ on the exact OpenVPN figure, but they agree the gap is large. Less code is easier to audit. WireGuard uses a fixed set of modern cryptography: Curve25519 for key exchange, ChaCha20 for encryption, Poly1305 for authentication and BLAKE2s for hashing. It became part of the mainline Linux kernel with version 5.6 in 2020.

OpenVPN and IKEv2/IPsec

OpenVPN is the long-running open-source option and is still widely supported. IKEv2/IPsec is a standards-based protocol built into Windows, macOS, iOS and Android, so it can work without a third-party app.

What a VPN actually hides

A VPN does a good job here:

  • From your ISP or Wi-Fi operator: which sites you visit and what you send. They see encrypted traffic going to the VPN server.
  • From websites: your real IP address, and so your rough location. They see the VPN server’s IP instead.
  • On public Wi-Fi: your traffic is encrypted even on an open network. The FTC’s 2018 guidance on VPN apps points to public Wi-Fi as a main reason to use one.

What a VPN does not hide

This is where most marketing goes quiet.

  • Your activity from the VPN provider. You’re moving trust from your ISP to the VPN company, which can see the same traffic your ISP used to see. A VPN doesn’t make you anonymous.
  • Logged-in accounts. If you’re signed in to Google, Facebook or a shopping site, as Norton points out, that site can still track what you do there.
  • Cookies and trackers. These live in your browser, so a VPN generally doesn’t block them.
  • Browser fingerprinting. Sites can recognize your browser from its settings and features even after you clear cookies.
  • Malware and phishing. A VPN doesn’t stop you from downloading a bad file or typing your password into a fake login page.

Leaks and the kill switch

A VPN can expose your details if traffic slips outside the tunnel. The usual causes are DNS requests, IPv6 traffic or WebRTC in the browser. Avast says DNS leaks are rare with reputable modern services. Independent security notes are more cautious and suggest testing for them yourself. Sources disagree on how common leaks are, so testing is the safe choice.

A kill switch blocks all traffic if the VPN connection drops. Without one, your real IP address and traffic can be exposed until the VPN reconnects.

How to check a VPN before you trust it

  1. Read the privacy policy. The FTC advises checking what an app collects and whether it shares data with third parties. Free apps often pay for themselves with in-app ads or by sharing your information.
  2. Confirm it actually encrypts. The FTC warned that not every VPN app encrypts your traffic, and some encrypt only part of it. The warning drew on research into roughly 300 VPN apps, many of which didn’t use encryption or asked for sensitive permissions.
  3. Look for a known protocol. WireGuard, OpenVPN or IKEv2/IPsec should be named in the app or documentation. Treat vague “military-grade” claims with no protocol named as a warning sign.
  4. Turn on the kill switch and leak protection if the app has them.
  5. Test after connecting. Use a leak-test site to check DNS, IPv6 and WebRTC, not just your visible IP. A plain “what’s my IP” check doesn’t prove DNS or app traffic is protected.
  6. Install only from official sources: the provider’s own website or your device’s official app store.

A note on business VPNs

If you manage a company’s remote access, the joint NSA and CISA information sheet from September 2021 is the reference to read. It recommends:

  • standards-based IKE/IPsec VPNs, with SSL/TLS VPN functionality and fallback disabled where feasible
  • products from the NIAP Product Compliant List
  • certificate-based authentication plus multi-factor authentication
  • limiting exposed ports and protocols
  • keeping admin access off the VPN itself
  • monitoring logs for unauthorized access

We couldn’t confirm whether it has been revised since. Check the NSA press release page for the current version.

The bottom line

A VPN is a good tool for one specific job: encrypting your connection and hiding your IP address from the network you’re on and the sites you visit. It doesn’t make you anonymous, block trackers or stop malware. It also shifts trust onto the VPN provider, which makes choosing that provider carefully the most important decision. App features, protocols and provider policies change often, so check current details before you commit.

Frequently asked questions

Does a VPN make me anonymous online? +

No. A VPN hides your traffic from your internet provider or Wi-Fi operator and swaps your IP address for the server's, but the VPN provider can see that traffic instead. Sites you log in to, cookies and browser fingerprinting can still identify you.

Which VPN protocol should I pick? +

For a consumer VPN app, WireGuard or OpenVPN are the common, well-reviewed choices, and most apps pick one automatically. For company remote access, NSA and CISA guidance recommends standards-based IKE/IPsec over proprietary SSL/TLS VPNs.

Are free VPN apps safe? +

Some are, but be careful. The FTC has warned that free VPN apps often make money from in-app ads or by sharing your information with third parties, and that not every VPN app actually encrypts your traffic. Read the privacy policy before installing.

What is a VPN kill switch? +

A kill switch blocks your internet traffic if the VPN connection drops, so your real IP address and unencrypted traffic aren't exposed until the tunnel reconnects. It's worth turning on if your app offers one.

Sources

  1. FTC provides tips for using VPN apps (press release, February 2018) (ftc.gov)
  2. NSA, CISA release guidance on selecting and hardening remote access VPNs (nsa.gov)
  3. Selecting and Hardening Remote Access VPN Solutions (NSA/CISA information sheet, PDF) (media.defense.gov)
  4. WireGuard VPN added to Linux 5.6 (techradar.com)
  5. Can you be tracked with a VPN? (au.norton.com)
  6. Can a VPN be tracked? (avast.com)
About this guide. Researched and drafted with AI assistance from the sources above, then checked against our editorial rules. It reflects what was publicly known on November 8, 2026; details can change, so confirm with the official source before acting on it. How we work →

Our reviews

In-depth reviews from Safe Surf Lab that go with this topic.

Keep reading