Codex Cloud shipped with Tailscale support. Nobody told us.
OpenAI's Codex Cloud launched with Tailscale as its only VPN provider, built on public Tailscale features without any partnership. Setup uses a reusable, ephemeral, tagged auth key (e.g. tag:codex) so each cloud task VM joins the tailnet with scoped access. Connectivity is limited to HTTP/HTTPS, plus arbitrary TCP via HTTP CONNECT on proxy:8088, and IPv4 subnet routes. MagicDNS, split DNS, UDP, ICMP, SSH and inbound connections are unsupported. To fence in agents, tag agents and resources, restrict access with grants, keep key expiry, enable network flow logs and turn on device approval.
Related posts
- Grok Bot has a Tailscale integration—and now you can, too
Tailscale mediumAdept
Tailscale OAuth apps, now generally available, let third-party agents join a user's tailnet through a standard OAuth 2.0 flow and act on that user's behalf, unlike existing OAuth clients that create tag-owned devices under a shared service identity. Devices provisioned this way carry the user's identity, so access policies, audit logs and quotas still apply. Grok Bot already uses the flow to reach private MCP servers without exposing them publicly. A sample policy uses a custom posture attribute with defaultSrcPosture and srcPosture so the bot reaches only designated MCP servers rather than inheriting the user's full access (Premium/Enterprise), while other plans can use tag-based rules instead.
- Three layers, all config: how DigitalOcean Managed Agents enforce NVIDIA OpenShell-aligned boundaries
DigitalOcean easyNovice
DigitalOcean Managed Agents confine an AI agent with three configuration-defined layers, illustrated by an agent that migrated huffl.ai's production backend (31 tables, ~145K rows, 31K embeddings) from Supabase to DigitalOcean. Credentials are brokered by Action Gateway as managed OAuth connections and injected at call time, so tokens never enter the model, prompt, transcript or sandbox. A manifest selecting the NVIDIA OpenShell default policy profile makes the Firecracker microVM's filesystem read-only except /workspace and /tmp. Network egress is deny-by-default with an allow_hosts list enforced by a proxy, so these limits are enforced by the runtime rather than relying on the agent's behaviour.
- Running Codex safely at OpenAI
OpenAI mediumAdept
OpenAI runs Codex internally inside a bounded environment. A sandbox limits where it can write and whether it can reach the network, approval policies make higher-risk actions stop for review, and an auto-review subagent approves routine low-risk requests so users are not constantly interrupted. Admin-enforced requirements files cover network allow/deny lists through a proxy, Starlark prefix rules for shell commands, and OS-keyring credential storage pinned to an enterprise ChatGPT workspace. OpenTelemetry export of prompts, approval decisions, tool results and proxy events feeds a SIEM and an AI security triage agent that explains why the agent did something, not just what happened.
- How Tailscale can make secure MCP access with DCR easier
Tailscale easyNovice
MCP's authorization spec strongly recommends OAuth Dynamic Client Registration (DCR), a decade-old spec that major IdPs like Google, GitHub and Entra ID still don't support, which is why MCP servers often force users to create OAuth clients manually. Tailscale proposes running a local DCR-capable authorization server behind tailnet ACL grants, so only specific identity-provider groups can reach it and register clients. For simple internal deployments, MCP servers can skip OAuth entirely and check the caller's Tailscale identity directly. Gateway and intermediary-agent setups likely need STS token exchange, which Tailscale is adding to its experimental tsidp server.
- Claw Patrol: an open-source security firewall for agents
Deno easyNoviceClaw Patrol is an MIT-licensed, alpha-stage gateway that sits outside AI agents and enforces policy on their production access. Agent traffic flows through a WireGuard or Tailscale tunnel to a gateway that terminates TLS, parses the inner protocol (HTTP, Postgres SQL, Kubernetes API), injects credentials the agent never holds, and evaluates each request against HCL rules. Rules can match on facets such as SQL verb and tables or Kubernetes resource and namespace. Verdicts can allow, deny, or route through chained LLM-judge and Slack human approvers. The gateway can also tunnel onward into otherwise unreachable networks, such as an Aurora database behind an EKS apiserver, a case HTTP-only proxies and sandboxes can't cover.