VPNs Done Right

Your ISP sees everything you do online.

Every website you visit, every file you download, every search you make—your Internet Service Provider logs all of it. They sell this data to advertisers. They hand it over to law enforcement without warrants. They throttle certain traffic. They know more about your browsing habits than your closest friends.

Your IP address is your digital fingerprint. Every website you visit sees it. It reveals your approximate location, your ISP, and ties all your activity together.

This week, you’ll learn to hide your IP address using a VPN. You’ll understand exactly what VPNs protect (and what they don’t), how to choose a trustworthy provider, and set up Mullvad VPN on Linux Mint.


Understanding Network Privacy

What Your ISP Sees

Without protection, your ISP observes:

  • Every domain you visit (even with HTTPS, they see the domain name via SNI)
  • When you visit (timestamps of all connections)
  • How much data you transfer
  • Your IP address (assigned by them, tied to your account)
  • DNS queries (if using their DNS servers)

HTTPS protects the content (they can’t see what you typed in a form), but not the metadata (they know you visited bank.com at 3am and spent 20 minutes there).

The IP Address Problem

Your IP address:

  • Reveals your approximate location (city-level accuracy)
  • Identifies your ISP
  • Links all your online activity together
  • Can be logged by every website you visit
  • Is trivially subpoenaed from your ISP

When a website logs your IP, they can:

  • Track you across visits (even without cookies)
  • Estimate your location
  • Work with law enforcement to identify you

Two Solutions: VPNs and Tor

VPN (Virtual Private Network):

  • Routes your traffic through a server operated by the VPN provider
  • Hides your IP from websites (they see the VPN server’s IP)
  • Encrypts traffic from your ISP
  • Requires trusting the VPN provider
  • Fast, suitable for daily use

Tor (The Onion Router):

  • Routes traffic through 3+ volunteer-operated relays
  • Each relay only knows the previous and next hop
  • No single entity sees both your IP and your destination
  • Very slow compared to VPN
  • Maximum anonymity, no trust required

Part 1: Understanding VPNs

How VPNs Work

Without VPN:

You → ISP → Website
(ISP sees: your IP + destination)
(Website sees: your IP)

With VPN:

You → ISP → VPN Server → Website
(ISP sees: your IP + VPN server)
(Website sees: VPN server's IP)
(VPN provider sees: your IP + destination)

The trust shifts. Instead of trusting your ISP, you trust your VPN provider.

What VPNs Do and Don’t Do

VPNs DO:

  • ✅ Hide your IP from websites
  • ✅ Encrypt traffic from your ISP
  • ✅ Bypass geographic restrictions
  • ✅ Protect on untrusted networks (coffee shop WiFi)
  • ✅ Prevent ISP throttling of specific services

VPNs DON’T:

  • ❌ Make you anonymous (VPN provider knows who you are)
  • ❌ Protect against browser fingerprinting
  • ❌ Prevent website tracking (cookies, JavaScript)
  • ❌ Hide that you’re using a VPN
  • ❌ Protect against malware or phishing

Critical point: VPNs are privacy tools, not anonymity tools. Your VPN provider can see everything your ISP would have seen.

Choosing a VPN Provider

Most VPN providers are garbage. They log your data, sell your browsing history, or make false “no-logs” claims.

What to look for:

  • No-logs policy (verified by independent audits)
  • Jurisdiction (avoid Five Eyes countries if possible)
  • Open source clients (auditable code)
  • Payment options (accept cryptocurrency for privacy)
  • Track record (has their no-logs claim been tested in court?)

Red flags:

  • ⚠️ “Free” VPNs (you’re the product)
  • ⚠️ Lifetime subscriptions (unsustainable business model)
  • ⚠️ Vague privacy policies
  • ⚠️ No third-party audits
  • ⚠️ Excessive marketing claims (“military-grade encryption”)

Mullvad (Our recommendation)

  • Based in: Sweden
  • Price: €5/month flat (no discounts, no upsells)
  • Payment: Cash by mail, cryptocurrency, card
  • No-logs: Yes, verified by audits and Swedish police requests
  • Open source: Yes, clients are open source
  • Unique: Account numbers instead of email/password

Why Mullvad:

  • No email or personal info required
  • Pay with cash or Monero for maximum privacy
  • Flat pricing (no manipulative “3-year deals”)
  • Proven no-logs policy (Swedish authorities couldn’t get data)
  • Partnered with Tor Project to create Mullvad Browser

ProtonVPN (Alternative)

  • Based in: Switzerland
  • Price: Free tier available, paid from $5/month
  • Payment: Card, PayPal, Bitcoin
  • No-logs: Yes, audited
  • Open source: Yes

Why ProtonVPN:

  • Free tier (limited servers, no P2P)
  • Integrates with Proton Mail ecosystem
  • Good for users already in Proton ecosystem
  • Swiss privacy laws

Part 2: Setting Up Mullvad VPN

Create Account (No Personal Info Required)

  1. Go to https://mullvad.net/
  2. Click Generate account
  3. You receive a 16-digit account number (e.g., 1234 5678 9012 3456)
  4. Save this number securely (in your password manager!)
  5. No email, no password, no personal information

Mullvad account generation page (no personal info)

Add Time to Your Account

Option 1: Cryptocurrency (Most Private)

  1. On account page, click Add time
  2. Select Bitcoin or Monero
  3. Send exact amount to provided address
  4. Time added automatically after confirmation

Option 2: Cash by Mail (Maximum Privacy)

  1. Write your account number on paper
  2. Put cash (€/$/SEK) in envelope
  3. Mail to Mullvad’s Sweden address
  4. Time added when received

Option 3: Card/PayPal

  1. Click Add timeCard
  2. Complete payment
  3. Time added immediately

Install Mullvad Client on Linux Mint

  1. Go to https://mullvad.net/download/
  2. Download the Linux (.deb) package
  3. Open Terminal (Ctrl+Alt+T)
  4. Navigate to Downloads:
    cd ~/Downloads
    
  5. Install the package:
    sudo apt install ./MullvadVPN-*.deb
    

Mullvad download page with the Linux .deb package Visit this page yourself: if you see your own city listed at the top of Mullvad’s site, that’s proof you’re not yet protected.

Configure Mullvad

  1. Open Mullvad VPN (Menu → Internet → Mullvad VPN)
  2. Enter your 16-digit account number
  3. Click Login
  1. Go to SettingsVPN settings
  2. Configure these options:
    • Auto-connect: Enable (VPN starts automatically)
    • Kill switch: Enable (blocks internet if VPN drops)
    • DNS content blockers: Enable Ads, Trackers, Malware

Connect to VPN

  1. In the main Mullvad window, click Secure my connection
  2. The app connects to the nearest server
  3. Status shows “CONNECTED” with green indicator

To choose a specific location:

  1. Click Switch location
  2. Select country and city
  3. Click to connect

Verify VPN is Working

  1. Visit https://mullvad.net/check
  2. Should show: “You are using Mullvad” in green
  3. Your displayed IP should be different from your real IP

Note: mullvad.net/check only turns green for Mullvad specifically. On any other VPN it’ll say “You are not using Mullvad” — that’s expected, not a failure. To confirm any VPN is working (or to check for leaks regardless of provider), use the general tests below.

Also verify at:


Part 3: VPN Best Practices

When to Use Your VPN

Always use VPN for:

  • General browsing (hide from ISP)
  • Public WiFi networks
  • Accessing geo-restricted content
  • Any activity you don’t want tied to your real IP

Consider disabling VPN for:

  • Banking (may trigger fraud alerts)
  • Local services that need your real location
  • Speed-critical activities (gaming, video calls)

VPN Kill Switch

A kill switch blocks internet access if VPN disconnects unexpectedly. This prevents IP leaks.

On Mullvad:

  • Enabled by default in settings
  • Test it: Connect to VPN, then force-close the VPN app
  • Your internet should stop working until you reconnect

Split Tunneling (Advanced)

Split tunneling lets some apps bypass the VPN. Useful for:

  • Banking apps (need real IP)
  • Local network printers/devices
  • Speed-sensitive applications

On Mullvad:

  1. Settings → Split tunneling
  2. Add apps that should bypass VPN
  3. Those apps use your real connection

Caution: Split tunneling can leak your real IP if misconfigured.

DNS Leak Prevention

DNS leaks expose your browsing even with VPN active.

Mullvad prevents leaks by:

  • Routing DNS through VPN tunnel
  • Blocking non-VPN DNS queries
  • Optional DNS content blocking (ads, trackers, malware)

Test for leaks:

  1. Connect to VPN
  2. Visit https://dnsleaktest.com/
  3. Run extended test
  4. All DNS servers should be VPN provider’s servers

Multiple Devices

Your Mullvad account works on 5 devices simultaneously.

Install on:

  • Linux desktop (covered above)
  • Phone (Android/iOS apps available)
  • Other computers

Each device uses the same account number.


Privacy Checkpoint

Your network traffic is now protected from ISP surveillance:

What changed:

  • ISP sees only encrypted VPN traffic
  • Websites see VPN server’s IP, not yours
  • DNS queries go through VPN

What you gained:

  • Privacy from ISP monitoring
  • Protection on public WiFi
  • Harder to track by IP address

What you traded:

  • VPN provider sees your traffic (choose wisely)
  • Slight speed reduction
  • Some websites may not work
  • Monthly cost (~$5)

What VPN doesn’t give you:

  • Anonymity (VPN knows who you are)
  • Protection from tracking (cookies, fingerprinting still work)
  • Protection from your own mistakes

Troubleshooting

VPN won’t connect

Try:

  1. Check your account has time remaining
  2. Try a different server location
  3. Restart the VPN client
  4. Check firewall isn’t blocking VPN ports
  5. Try switching between WireGuard and OpenVPN protocols

Internet works without VPN but not with

Possible causes:

  1. Kill switch blocking—try disabling temporarily to diagnose
  2. DNS resolution issues—try Mullvad’s DNS servers
  3. Network firewall blocking VPN traffic

Slow speeds with VPN

Try:

  1. Connect to geographically closer server
  2. Try WireGuard protocol (faster than OpenVPN)
  3. Check your base internet speed (maybe VPN isn’t the issue)
  4. Different server in same location (load varies)

IP still shows as real IP

Check:

  1. VPN actually connected (look for green indicator)
  2. Browser extensions that might bypass VPN
  3. WebRTC leak (Firefox: about:configmedia.peerconnection.enabled = false)
  4. Split tunneling not accidentally enabled

Website blocks VPN

Some services block known VPN IPs:

  1. Try different server in same country
  2. Some VPNs offer “obfuscated” servers
  3. Accept that some services require real IP
  4. Use split tunneling for specific apps

Going Further (Optional)

WireGuard vs OpenVPN

Mullvad supports both protocols:

WireGuard:

  • Faster, more modern
  • Better battery life on mobile
  • Simpler code (easier to audit)
  • Default on Mullvad

OpenVPN:

  • More mature, battle-tested
  • Better compatibility with restrictive networks
  • More configuration options
  • Use if WireGuard blocked

Running Your Own VPN

For maximum control, run your own VPN server:

  • WireGuard on VPS (simple, fast)
  • OpenVPN for more features
  • Services like Algo make setup easy

Trade-offs:

  • You control the server (no third-party trust)
  • But: Single IP more easily identified as “yours”
  • Server costs money
  • You’re responsible for security

VPN at Router Level

Instead of per-device VPN:

  • Flash router with OpenWrt/DD-WRT
  • Configure VPN on router
  • All devices automatically protected
  • No need for VPN apps on each device

What’s Next

VPNs protect you from ISP surveillance, but they don’t provide true anonymity—your VPN provider still knows who you are. For situations requiring stronger anonymity, you need Tor.

Week 8 covers Tor Browser—the anonymity network that routes your traffic through multiple relays so no single entity sees both your identity and your destination.


Summary

This week you:

  • Understood what VPNs actually protect (and what they don’t)
  • Learned to evaluate VPN providers for trustworthiness
  • Set up Mullvad VPN on Linux Mint
  • Configured kill switch and DNS leak protection
  • Verified your VPN is working correctly
  • Learned VPN best practices for daily use

Your ISP can no longer see your browsing activity. Combined with encrypted messaging (Week 6), encrypted email (Week 5), and hardened browser (Week 3), you’ve significantly reduced your digital footprint.


💻 Ready for the command line? Cypherpunk 101 digs into VPN-vs-Tor trade-offs, when to combine them, and why “just use Tor” is often the answer: Cypherpunk 101 Week 7 (Part 2): Advanced Tor — VPNs, Bridges & Relays →

← Back to Week 6: Secure Messaging

Continue to Week 8: Tor Browser →