Auto-approve Tailscale exit-node routes from tag:homelab devices - #9
Merged
Conversation
Adds `autoApprovers.exitNode = ["tag:homelab"]` so any tagged homelab device that re-runs `sudo tailscale up --advertise-exit-node` is auto-approved as an exit node with no admin-UI click. Tag-gated by design — only nodes we've already vouched for via the auth-key + ansible flow can self-approve exit routing. Surfaces: pi-zero-exit lost its exit-node advertisement at some point post-2026-05-12 (ExitNodeOption=False, Tags=[]). Re-running the up command on the device will restore advertising; with this ACL change in place, the 0.0.0.0/0 + ::/0 routes auto-approve instead of waiting for a human in the admin UI.
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
autoApprovers.exitNode = ["tag:homelab"]to the tailnet policy.pi-zero-exitre-runningsudo tailscale up --advertise-exit-node) gets the 0.0.0.0/0 + ::/0 routes auto-approved. No admin-UI click required.Why now
pi-zero-exitlost its exit-node advertisement at some point post-2026-05-12 (ExitNodeOption=False,Tags=[]pertailscale status --jsonon gandalf). Symptom on the user side: iOS Tailscale app's Exit Node selector is empty, blockinghttp://pi.hole/adminaccess from cellular. Re-runningtailscale upon the device restores advertising; with this ACL change merged + applied, the restored route auto-approves instead of waiting for a human in the admin UI.Test plan
tofu apply— Tailscale provider patches the tailnet policy.pi-zero-exit:sudo tailscale up --advertise-exit-node --advertise-tags=tag:homelab --accept-dns=false.tailscale exit-node listlistspi-zero-exitas available with route accepted.pi-zero-exitin the Exit Node selector; selecting + browsing tohttp://pi.hole/adminloads Pi-hole admin.