How Does a VPN Work?
A VPN app on your device encrypts your traffic, sends it through a tunnel to a VPN server, and that server forwards it to the website. The site sees the server's IP address, and your internet provider sees only scrambled data going to the VPN. Below: each step, the protocols (WireGuard, OpenVPN, NordLynx, Stealth) and the limits. Two providers worth knowing are NordVPN and Proton VPN.

Disclosure: We earn a commission if you buy through the deal links on this page, at no extra cost to you. We only link to VPNs whose affiliate programs we belong to (NordVPN and Proton VPN). Other good options are named without links.
How the two providers implement it
Technical choices for NordVPN and Proton VPN, from their published documentation.
| Feature | NordVPN | Proton VPN |
|---|---|---|
| Main fast protocol | NordLynx, built on WireGuard | WireGuard |
| Other protocols | OpenVPN and obfuscated servers | OpenVPN and Stealth (WireGuard over TLS) |
| Multi-hop | Double VPN | Secure Core (Switzerland, Iceland, Sweden) |
| Anonymity network option | Onion Over VPN | Tor over VPN |
| No-logs checks | Six independent reviews, latest three by Deloitte | Yearly audits by Securitum, fifth in 2026 |
| Jurisdiction | Panama | Switzerland |
| Open-source apps | No | Yes |
| Servers | 6,800+ in 150 countries | 20,000+ in 140+ countries (paid) |
| Black Friday price | Basic $2.99/mo ($80.73 for 27 months) | VPN Plus $2.49/mo ($59.76 for 24 months) |
Two VPNs that publish how they work
Understanding the mechanics helps you judge a provider. These two document their protocols and publish independent audits of their no-logs claims.
NordVPN
NordLynx and multi-hop
Black Friday: $2.99/mo for 27 months (up to 78% off + 3 extra months, $80.73 up front) · 30-day money-back guarantee
- NordLynx (WireGuard-based)
- Double VPN
- Obfuscated servers
- 6 no-logs reviews
- Panama
NordVPN built NordLynx on WireGuard, which keeps the code small and the connection quick. It adds Double VPN, which chains two servers, Onion Over VPN and obfuscated servers that make VPN traffic look less distinctive. Its no-logs policy has been independently reviewed six times, the last three by Deloitte.
Basic is $2.99 a month in the Black Friday deal, billed $80.73 for 27 months; the "up to 78%" headline applies to its top tier. It has no free plan, and its 30-day guarantee covers the first purchase.
What we like
- Fast WireGuard-based protocol
- Double VPN and Onion Over VPN
- Obfuscated servers for strict networks
- Repeated independent no-logs reviews
Watch out for
- No free plan
- Multi-hop slows connections
- Split tunneling not on iPhone
Proton VPN
Stealth and Secure Core
Black Friday: $2.49/mo on the 2-year VPN Plus plan ($59.76 up front, 75% off) · free plan available · 30-day money-back guarantee
- WireGuard, OpenVPN, Stealth
- Secure Core multi-hop
- Open-source apps
- Securitum audits
- Switzerland
Proton VPN offers WireGuard and OpenVPN, plus its own Stealth protocol, which wraps WireGuard in TLS so it is harder to detect. Secure Core routes traffic through its own servers in Switzerland, Iceland and Sweden before the exit server. The apps are open source, which means anyone can read how the client works.
VPN Plus is $2.49 a month on the 2-year Black Friday deal, billed $59.76 up front. A free plan exists, limited to one device and 10 countries.
What we like
- Open-source apps
- Stealth protocol for restrictive networks
- Secure Core multi-hop
- Free plan for experimenting
Watch out for
- Secure Core and Stealth are slower than a direct WireGuard link
- Free plan: 1 device, no streaming or P2P
- No split tunneling on iPhone
The journey of one request, step by step
Follow a single page request from your laptop to a website and back.
- You connect. The VPN app and the VPN server authenticate each other and agree on encryption keys. This is the handshake.
- A virtual network adapter appears. The app adds a virtual network interface on your device. Your operating system now routes internet traffic into it instead of straight to your router.
- Packets are encrypted and wrapped. Each packet is encrypted, then placed inside a new outer packet addressed to the VPN server. This is tunnelling.
- Your internet provider forwards the outer packet. It can see that you are talking to the VPN server and roughly how much data, but not the contents or the final website.
- The VPN server unwraps it. It decrypts the inner packet and sends the request to the website under the server's own IP address.
- The reply returns the same way. The server encrypts the website's response, tunnels it back, and your app decrypts it.
All of this happens in milliseconds, dozens of times a second.
Encryption: why a snooper sees noise
Encryption scrambles data with a key so only someone holding that key can read it. VPNs use two layers of cryptography. First, an asymmetric key exchange (such as Curve25519 in WireGuard, or a TLS handshake in OpenVPN) lets the two ends agree on a secret over an open network. Then a fast symmetric cipher such as AES-256 or ChaCha20 encrypts the actual traffic with keys that are rotated regularly.
The practical result is that someone sharing your café Wi-Fi, or your internet provider, sees a stream of unreadable data going to one address. Note that most websites already use HTTPS, which encrypts the page content. A VPN adds a second layer and hides which sites you visit and the destination addresses.
IP masking: what the website sees
Every connection carries your public IP address, which reveals roughly where you are and who your provider is. When you use a VPN the website sees the VPN server's IP address instead, and many customers share that address. That makes it harder for advertisers and sites to link your visits to your home connection.
Choosing a server in another country changes the location a site infers. Some services block known VPN addresses, so follow each service's terms of use.
VPN protocols compared: WireGuard, OpenVPN, NordLynx and Stealth
A protocol defines how the tunnel is built, which ciphers it uses and how it recovers from dropped connections.
| Protocol | How it works | Trade-off |
|---|---|---|
| WireGuard | Small, modern code base; ChaCha20 encryption over UDP | Very fast, quick to reconnect; fewer obfuscation options by itself |
| NordLynx | NordVPN's WireGuard-based implementation with extra privacy handling | Speed of WireGuard, available in Nord apps only |
| OpenVPN | TLS-based, runs over UDP or TCP, widely audited | Mature and flexible, but heavier and slower |
| Stealth | Proton's WireGuard wrapped in TLS so it resembles ordinary encrypted web traffic | Harder to detect on strict networks, with some speed cost |
What a VPN cannot do
Knowing the limits matters as much as the mechanics:
- It does not make you anonymous. Logging in to Google, Facebook or a shop still identifies you, and browser fingerprinting continues to work.
- It moves trust rather than removing it. Your internet provider no longer sees your traffic, but the VPN company could. Independent audits of a no-logs policy are the best check available.
- It does not stop malware or phishing. A VPN is not a replacement for updates and careful clicking. Extras such as Threat Protection or NetShield block known bad domains but do not catch everything.
- It does not encrypt beyond the server. After the VPN server, traffic travels as normal, protected only by HTTPS if the site uses it.
- It cannot make illegal activity legal. VPNs are legal in the US and UK; copyright infringement and fraud remain illegal.
- It cannot add speed. At best a nearby server with WireGuard feels the same as your normal connection, and sometimes a VPN helps with throttling that targets specific services.
Frequently asked questions
How does a VPN work in simple terms?
The app encrypts your traffic and sends it through a tunnel to a VPN server. The server decrypts it and passes it to the website, so the website sees the server's IP address rather than yours.
What is a VPN and how does it work on a phone?
The VPN app on your phone creates a virtual network connection that carries all your traffic through the encrypted tunnel. The operating system treats the app as a network interface, which is why you must approve the VPN configuration the first time.
How does a VPN work with Wi-Fi?
Your device encrypts data before it leaves for the router, so other people on the same Wi-Fi network see only scrambled data going to the VPN server. This is why VPNs help on public hotspots.
How does a VPN tunnel work?
Tunnelling places each encrypted packet inside another packet addressed to the VPN server. Your internet provider forwards the outer packet without being able to read the inner one.
How does a VPN server work?
It authenticates you, decrypts the tunnelled packets, forwards them to the internet under its own IP address, and encrypts the replies on the way back to you.
Is WireGuard better than OpenVPN?
WireGuard is faster and simpler, with a much smaller code base. OpenVPN is more mature and flexible, including over TCP. Most apps default to WireGuard and offer OpenVPN as a fallback.
What is NordLynx?
NordLynx is NordVPN's protocol built on WireGuard. It keeps WireGuard's speed and adds Nord's own handling to improve privacy.
What is the Stealth protocol?
Stealth is Proton VPN's protocol that wraps WireGuard in TLS, so the traffic looks like ordinary encrypted web traffic. It is useful on networks that interfere with VPN connections.
Can a VPN see my data?
In principle the VPN company can see traffic after decryption, which is why you should choose a provider with independently audited no-logs claims, such as NordVPN or Proton VPN.
Is there a Black Friday VPN deal right now?
Yes. Proton VPN Plus is 75% off at $2.49 a month ($59.76 for 24 months), and NordVPN advertises up to 78% off plus 3 extra months, with Basic at $2.99 a month ($80.73 for 27 months). Black Friday pricing is live now.
Sources
Checked on November 27, 2026.
About this guide
How Does a VPN Work is a small independent site that answers one question well. We check every price and plan on the providers' own pricing pages and the pages our deal links lead to, and we re-check them whenever a sale starts or ends. This page was last updated on November 27, 2026. Claims about no-logs audits link to the audit pages above.
The site is paid for by affiliate commissions from NordVPN and Proton VPN. Commissions don't change what we write: each provider's downsides are listed alongside its strengths, and better options for some readers are named even when we earn nothing from them.
Spotted a wrong price or an out-of-date fact? Email corrections@howdoesavpnwork.org and we'll fix it.