# Tailscale, Clearly Explained (Beginner's Guide) <!-- ref: @content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide tags: [Tailscale, private networking, VPS, AI agents, multi-agent orchestration, ACLs, API key management, Hermes Agent, Codex] version: 2 updated_at: 2026-11-24T07:16:44.870Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=eNn2tT-lrz4)** # Tailscale, Clearly Explained (Beginner's Guide) *Synthesized from David Ondrej, 2026-07-13.* David Ondrej is the only speaker and gives a hands-on tutorial. No host or guest is named. ## Core Thesis David Ondrej argues that Tailscale, a private encrypted network that links all of your machines, is what lets one AI agent manage other agents running on local computers and VPSs without open ports or manual intervention. He demonstrates it by installing Tailscale on a Linux VPS, having a coding agent (Codex) lock the server down to Tailscale traffic, and then installing Hermes Agent with its API keys held in a central gateway. ## Key Insights - **What Tailscale provides.** It builds a peer-to-peer WireGuard tunnel between your machines, so the VPS needs no open ports. Every device appears in one console under a readable name and is reachable by that name from anywhere. - **Identity instead of SSH keys.** Access is tied to a Google or GitHub account; removing a lost laptop or a departed team member's device revokes its access immediately. - **Cost and limits.** He says the free tier includes unlimited devices and up to six users, so the network layer costs nothing and you pay only for the VPS. - **ACLs.** By default every device can reach every other device. Access control lists let you write rules such as "this agent can only access this one VPS", so a compromised machine can only reach what it is authorized to reach. - **Setup sequence.** Sign up at tailscale.com (he uses GitHub login), add a device with the Linux install script (a curl command), then authenticate the VPS through the login link the agent prints. He uses a KVM2-class VPS with Ubuntu, which he says can run around 20 agents. - **Agent-driven hardening.** Codex, run at medium effort, installed Tailscale, blocked all public input ports, disabled SSH password login and confirmed that only Tailscale traffic was allowed. He notes most VPSs run without a firewall. - **Aperture for secrets.** Tailscale's Aperture is an AI gateway that joins the tailnet as a node and holds provider API keys (OpenAI, Anthropic, Google or custom endpoints) in one place, so agents receive them over the network rather than storing them on each VPS. - **Fleet updates.** With every machine on the tailnet, one message to a personal agent can change the model on all of them; he estimates 20 to 40 minutes saved per fix compared with doing it by hand. - **Model comments.** He prefers GPT-5.6 and Fable for self-testing, which he says run their own checks after changes, over earlier generations that do not check outcomes. The Hermes test ran on GLM 5.2 before being switched to GPT-5.6. - **His skills.** The CLI and VPS-management skills he uses are open-sourced with the video. ## Actionable Takeaways 1. Put every agent host on a Tailscale network and close public ports, so that only Tailscale traffic reaches the VPS. 2. Write ACL rules so each agent or teammate can reach only the machines it needs. 3. Store provider API keys once in a gateway such as Aperture, and let agents fetch them over the tailnet rather than copying them to each host. 4. Give a coding agent the goal (install Tailscale, then lock down the VPS) and check its own verification output before relying on it. 5. Run the coding agent at medium effort; he says anything heavier runs into Codex usage restrictions. ## Notable Quotes > "Every open port is a point of influence." — David Ondrej > "The future belongs to your agents." — David Ondrej --- *Related: `@knowledge/protocols/agent-to-human-handoff-context-preload` · `@content/youtube/david-ondrej/build-anything-with-tmux-here-s-how` · `@content/youtube/david-ondrej/hermes-agent-is-crazy-180-000-github-stars` · `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc` · `@content/youtube/david-ondrej/hermes-goal-is-insane-just-watch`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*