ACL-002CybersecurityBeginner 1:10

What actually happens after you click Connect on a VPN?

How a VPN Works: What Happens When You Click Connect

The short answer

Your device and the VPN server agree on session keys, then every packet is encrypted and wrapped in a new packet addressed to the VPN server, which decrypts it and forwards it with its own IP address.

Key points

  1. A VPN is an encrypted tunnel between your device and a VPN server.
  2. Your device verifies the server and both derive session keys that never cross the network.
  3. Each packet is encrypted, then wrapped inside a new packet addressed to the VPN server, which forwards it using its own IP.
  4. On café Wi-Fi, the hotspot only sees encrypted traffic to one server. The website sees the VPN's IP, not yours.
  5. A VPN does not make you anonymous: it moves your trust from the local network to your VPN provider.
Go deeper

What is a VPN?

A VPN (Virtual Private Network) is an encrypted tunnel between your device and a VPN server, which then forwards your traffic to the internet using its own IP address.

Diagram, myths, real examples, and sources

Transcript

Tap a line to jump there