Skip to content

feat: add hub-spoke ACL policy for privileged networks#90

Merged
STRRL merged 2 commits intomasterfrom
89-feat-hub-spoke-acl-policy-for-privileged-networks
Feb 11, 2026
Merged

feat: add hub-spoke ACL policy for privileged networks#90
STRRL merged 2 commits intomasterfrom
89-feat-hub-spoke-acl-policy-for-privileged-networks

Conversation

@ca110us
Copy link
Copy Markdown
Collaborator

@ca110us ca110us commented Feb 9, 2026

Add PRIVILEGED_NETWORKS config (comma-separated Headscale usernames) that switches from pure isolation to hub-spoke ACL model. Privileged networks get full access to all nodes; normal networks remain isolated from each other. On startup, full ACL is rebuilt; new WonderNets use incremental append since privileged : rules already cover them.

Add PRIVILEGED_NETWORKS config (comma-separated Headscale usernames) that
switches from pure isolation to hub-spoke ACL model. Privileged networks
get full access to all nodes; normal networks remain isolated from each
other. On startup, full ACL is rebuilt; new WonderNets use incremental
append since privileged *:* rules already cover them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ca110us ca110us linked an issue Feb 9, 2026 that may be closed by this pull request
@ca110us ca110us requested a review from STRRL February 9, 2026 10:26
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 96305ad6f3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Copy Markdown
Owner

@STRRL STRRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most LGTM, awesome1

- Remove wildcard ingress rule into privileged namespaces; Tailscale ACLs
  are directional and reply traffic flows back over established connections
- Add --privileged-networks cobra flag (StringArray, repeatable)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ca110us ca110us requested a review from STRRL February 10, 2026 06:16
Copy link
Copy Markdown
Owner

@STRRL STRRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most LGTM, awesome1

@STRRL STRRL merged commit 13e19b3 into master Feb 11, 2026
11 checks passed
@STRRL STRRL deleted the 89-feat-hub-spoke-acl-policy-for-privileged-networks branch February 11, 2026 05:06
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.

feat: hub-spoke ACL policy for privileged networks

2 participants