Trailhead NetworkingSecurity

VPNs: A Private Tunnel Through a Public Road

One technology, two very different jobs: getting you inside the office network from home, and hiding your traffic from the coffee shop.

A VPN — Virtual Private Network — is one of those terms that means two quite different things depending on who's saying it, and beginners get tangled because explanations mix the two. The shared core: a VPN builds an encrypted tunnel between your device and some trusted endpoint, so that everything travelling the public internet between them is sealed and unreadable. An armoured pipe laid through a public road. What differs is where the pipe goes and why.

Job one: the corporate VPN — a very long cable to the office

Company networks are full of internal-only systems — file servers, intranets, admin consoles — deliberately unreachable from the internet. A remote-access VPN solves the work-from-home problem: your laptop authenticates, an encrypted tunnel forms to the company's VPN gateway, and your machine behaves as if it were plugged in at a desk inside the building. Internal addresses resolve, internal systems answer. Functionally, it's an extension lead for the office network, and it's why "connect to the VPN first" precedes half of all remote-work instructions.

Job two: the consumer VPN — borrowing someone else's front door

The heavily advertised kind does something different: the tunnel runs to the provider's server, and your traffic exits to the internet from there. Two consequences follow. Anyone on your local network — the coffee-shop Wi-Fi, the hotel, your ISP — sees only an encrypted stream to one server, not what you're doing. And websites see the VPN server's location as yours, which is really why most subscriptions get bought.

Trail note

The honest caveat marketing skips: a consumer VPN doesn't make you anonymous — it relocates trust. Your ISP can no longer watch your traffic; the VPN provider now can. Whether that's an upgrade depends entirely on which of the two you trust more, which is a judgement, not a technology.

What the tunnel doesn't do

Worth being precise, because users routinely over-trust the padlock: a VPN protects data in transit through the tunnel. It doesn't stop phishing, doesn't block malware, doesn't sanitise a malicious website — you're reaching the same destinations, just via an armoured route. And note the quiet overlap you've already met on this trail: ordinary HTTPS also encrypts your traffic to each website. The VPN's remaining wins are hiding which sites you visit from local observers, and — the corporate case — reaching networks you otherwise couldn't. Know which job you're buying the tunnel for, and the whole topic stays simple.

Next waypoint — Basecamp

The CIA Triad: The Three Questions Behind All of Security →