Table of Contents

  1. What Is a VPN?
  2. How a VPN Works
  3. VPN Protocols Explained
  4. What a VPN Protects
  5. What a VPN Does NOT Protect
  6. Understanding No-Log Policies
  7. Jurisdiction Matters
  8. How to Choose a VPN
  9. VPN Red Flags to Avoid

1. What Is a VPN?

A Virtual Private Network (VPN) creates an encrypted tunnel between your device and a server operated by the VPN provider. All your internet traffic is routed through that tunnel, meaning your ISP sees only that you are connected to a VPN server — not what websites you visit or what data you send.

VPNs were originally designed for corporate use — allowing employees to securely access internal company resources over the public internet. Consumer VPNs repurpose the same technology for personal privacy, geo-unblocking, and protection on public Wi-Fi networks.

The global VPN market is worth billions of dollars and is full of misleading claims. Understanding the technology behind the marketing is essential for making a good choice. If you need stronger anonymity than a VPN provides, read our complete Tor guide.

2. How a VPN Works

When you connect to a VPN:

  1. Your device negotiates an encrypted tunnel with the VPN server using a VPN protocol (WireGuard, OpenVPN, etc.)
  2. All outgoing traffic is encrypted and sent to the VPN server
  3. The VPN server decrypts it and forwards it to the destination on your behalf
  4. The destination website sees the VPN server's IP address, not yours
  5. Return traffic flows back through the same tunnel to your device

Your ISP sees: your IP → VPN server IP, encrypted blob.
The destination website sees: VPN server IP, your traffic content (minus identity).
The VPN provider sees: your IP, the destination, and your traffic content.

⚠ Key Insight

A VPN does not make you anonymous. It shifts trust from your ISP to your VPN provider. You must trust your VPN provider not to log or sell your data. This is why provider selection and no-log audits matter.

3. VPN Protocols Explained

The protocol determines how the encrypted tunnel is built. The choice affects speed, security, and battery life.

WireGuard

The modern standard. WireGuard has roughly 4,000 lines of code (compared to OpenVPN's 600,000+), making it far easier to audit for security vulnerabilities. It is faster, uses less battery, and reconnects almost instantly when switching networks. Most reputable providers support WireGuard. Choose this when available.

OpenVPN

The long-standing gold standard. Open source, heavily audited, and extremely configurable. Slightly slower than WireGuard but battle-tested over two decades. Use OpenVPN (UDP mode preferred) when WireGuard is unavailable or on networks that block it.

IKEv2/IPSec

Fast and stable, especially good at reconnecting after network switches (roaming between Wi-Fi and mobile data). Widely supported on mobile. The IPSec implementation from some vendors has raised concerns; use only from providers with open-source or audited implementations.

Protocols to Avoid

4. What a VPN Protects

5. What a VPN Does NOT Protect

# Test for DNS leaks (Linux/Mac)
$ curl https://ifconfig.me          # should show VPN IP
$ dig myip.opendns.com @resolver1.opendns.com  # should also show VPN IP

# Test for WebRTC leaks
# Visit: browserleaks.com/webrtc — check that no local IP is shown

6. Understanding No-Log Policies

Every VPN provider claims to have a "no-log" policy. This claim ranges from meaningful to completely meaningless depending on the details. Here is how to evaluate one:

What Should NOT Be Logged

What May Be Logged (Acceptable)

Independent Audits

A no-log claim without a third-party audit is just marketing. Look for providers that have been independently audited by respected security firms (Cure53, Deloitte, KPMG). Even better: providers whose no-log policy has been proven by a real court case or law enforcement request they could not comply with because the data simply did not exist.

7. Jurisdiction Matters

Where a VPN company is legally incorporated determines which laws it must comply with. This affects data retention requirements and the ability of governments to demand user data.

Five Eyes, Nine Eyes, Fourteen Eyes

These are intelligence-sharing alliances between countries. A VPN based in a Five Eyes country (US, UK, Canada, Australia, New Zealand) is subject to laws that can compel data disclosure and gag orders. This does not mean such providers are untrustworthy — a genuine no-log policy means there is no data to hand over — but jurisdiction adds a legal layer of risk.

Favourable Jurisdictions

Countries with no mandatory data retention laws and no intelligence-sharing agreements with major surveillance alliances include Switzerland, Iceland, Panama, and the British Virgin Islands. Many reputable providers are incorporated in these locations specifically for this reason.

8. How to Choose a VPN

Apply this checklist:

9. VPN Red Flags to Avoid

Spotting a bad VPN is as important as choosing a good one. Pair your VPN choice with good OPSEC habits and a strong password manager.

// Summary

A trustworthy VPN is a useful privacy tool that protects against ISP surveillance and public Wi-Fi attacks. It is not anonymity. For stronger anonymity, combine a VPN with Tor and good OPSEC practices.

Related Articles

Tor guide
TorBeginner⏱ 12 min

The Complete Beginner's Guide to the Tor Network

How onion routing works, how to use Tor Browser safely, and what Tor can and cannot protect you from.

OPSEC guide
OPSECIntermediate⏱ 14 min

OPSEC for Everyday People: Protect Your Digital Life

Threat modeling, compartmentalization, pseudonyms, metadata scrubbing — for everyday people.

Linux privacy
LinuxAdvanced⏱ 16 min

Linux Privacy Hardening: A Practical Terminal Guide

UFW, Fail2Ban, LUKS encryption, AppArmor, system-wide Tor routing — step-by-step terminal commands.

← Back to Blog