📖 L1 of 5 · M2⏱ 6 min

WireGuard, mesh, identity

Three words that describe what Tailscale is, technically. Each one is doing real work; each one matters for understanding why it behaves the way it does.

1WireGuard: the encryption underneath

WireGuardWireGuard — a modern open-source VPN protocol. Tiny, fast, audited, in the Linux kernel. Tailscale uses WireGuard as the encrypted transport between your devices but adds the connection management on top. is the cryptographic protocol that actually moves your data between devices. It's open source, was added to the Linux kernel in 2020, and is wildly faster and simpler than older VPN tech (OpenVPN, IPsec).

Tailscale doesn't reinvent encryption — it uses WireGuard, unmodified, as the transport layer. Your packets are encrypted with WireGuard's keys; nobody between sender and receiver can read them, including Tailscale the company.

The aha: Tailscale is not "WireGuard plus telemetry." It's "WireGuard plus the management layer that makes WireGuard usable." The encryption is the same as if you'd set up WireGuard manually — but you don't have to.

Deep-path detail: WireGuard alone requires you to manually distribute public keys to every peer, configure each peer's allowed IPs, and rotate keys when devices come and go. For 3 devices that's annoying; for 30 it's a part-time job. Tailscale's whole product is automating this — but the data-plane crypto is identical.

2Mesh: every device talks to every device

Most VPNs are hub and spoke — all clients connect to a central server, and the server routes between them. This is simple but slow (every packet takes two hops) and creates a single point of failure (if the server's down, nothing works).

Tailscale is a mesh. Each device knows about every other device in the tailnet and connects to them directly. Your phone talks to your laptop directly. Your laptop talks to your home server directly. No server in the middle.

  • Faster: traffic takes one hop, not two.
  • More resilient: no central server to take down. Even if Tailscale's coordinator went offline, existing connections keep working.
  • Private by default: Tailscale never sees your data, since it's never in the path.

3Identity: who you are, not where you are

Traditional networks identify devices by IP address. ACLs are written like "allow 192.168.1.42 to reach 192.168.1.78." This is brittle — IPs change, devices move, you have to keep the list current.

Tailscale identifies devices by identity: the user account that owns the device (your Google/Microsoft/GitHub login), plus optional tags (tag:server, tag:iot). ACLs become "allow my-account to reach tag:server." That rule survives IP changes, network changes, even device replacements.

This identity layer is what makes M4's ACL system work cleanly, and what makes Tailscale safe to use for production access control. It's also what fundamentally distinguishes Tailscale from a plain WireGuard setup.

4Putting it together

The one-sentence version, now with all three words doing work:

Tailscale is a mesh network of your devices, encrypted with WireGuard, where access is controlled by identity rather than IP.

Every project in the rest of this course rests on those three pillars. WireGuard means your traffic is private. Mesh means it's fast and resilient. Identity means you can add a friend or remove a device without rewriting any rules.

🧠Knowledge check

Three quick questions

Pick an answer to see why.

Q1.What does Tailscale use WireGuard for?
Q2.What's the difference between hub-and-spoke and mesh?
Q3.Why does identity-based access matter?
3 / 3
Onward.