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