Skip to content

feat(tailscale): isolate tag:dntls to peers, Studio, and MacBook - #26

Merged
jmgilman merged 1 commit into
masterfrom
feat/tailscale-dntls-acl
Oct 26, 2026
Merged

jmgilman merged 1 commit into
masterfrom
feat/tailscale-dntls-acl

Conversation

@jmgilman

@jmgilman jmgilman commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

tag:dntls hosts may reach each other, Studio, and the MacBook on any port, and nothing else in the tailnet.

  • New ACL: tag:dntls → tag:dntls:*, studio-1:*, studio-1-v6:*, macbook-pro:*, macbook-pro-v6:*.
  • Host aliases now cover both tailnet address families for Studio and the MacBook (macbook-pro is new), so the rule admits either address. MagicDNS names resolve to IPv4 only today (no AAAA answer from sandbox01), so connections by name use the IPv4 aliases.
  • No other rule grants tag:dntls as a source: tagged devices are not autogroup:member/autogroup:admin, and the routed-range rules match subnet IPs, not tailnet IPs.
  • Admin-owned devices still reach dntls hosts through autogroup:admin → *:*.

Tests

New tag:dntls policy test: accepts peer, Studio, and MacBook ports over both families; denies an address adjacent to the MacBook, tag:agentcompute, tag:sandbox, tag:subnet-router, the lab Incus API, and lab/home routed hosts.

Validation

  • Sync tailnet policy (gitops-acl-action test) validates the policy and runs its tests against the tailnet.
  • Merge to master applies it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T02:01:11.579358Z 26de0a9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jmgilman
jmgilman merged commit 3d7bdad into master Oct 26, 2026
2 checks passed
@jmgilman
jmgilman deleted the feat/tailscale-dntls-acl branch October 26, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant