Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions tailscale/policy.hujson
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// Who may assign each tag to a device.
"tagOwners": {
"tag:subnet-router": ["autogroup:admin"],
"tag:sandbox": ["autogroup:admin"],
},

// Routes a subnet router may advertise without manual approval. These are
Expand Down Expand Up @@ -51,5 +52,21 @@
"dst": ["autogroup:self"],
"users": ["autogroup:nonroot", "root"],
},

// Tailscale SSH to sandbox hosts as josh or sandbox.
{
"action": "accept",
"src": ["autogroup:member"],
"dst": ["tag:sandbox"],
"users": ["josh", "sandbox"],
},

// Tailscale SSH to sandbox hosts as root, with periodic reauthentication.
{
"action": "check",
"src": ["autogroup:member"],
"dst": ["tag:sandbox"],
"users": ["root"],
},
],
}