Skip to content

Instantly share code, notes, and snippets.

@bscott
Created July 17, 2025 03:55
Show Gist options
  • Select an option

  • Save bscott/00d2b39c2724637b9fc5c2163ea6eb79 to your computer and use it in GitHub Desktop.

Select an option

Save bscott/00d2b39c2724637b9fc5c2163ea6eb79 to your computer and use it in GitHub Desktop.
gaming-tailscale-grant.json
{
"groups": {
"group:gamers": ["alice@example.com", "bob@example.com", "charlie@example.com"],
"group:game-admins": ["alice@example.com"],
"group:streamers": ["alice@example.com", "bob@example.com"],
"group:casual-gamers": ["charlie@example.com", "friend1@example.com"]
},
"tagOwners": {
"tag:game-server": ["group:game-admins"],
"tag:gaming-pc": ["autogroup:members"],
"tag:gaming-exit-node": ["group:game-admins"],
"tag:streaming-relay": ["group:game-admins"]
},
"grants": [
{
"src": ["group:streamers"],
"dst": ["tag:game-server"],
"via": ["tag:streaming-relay"],
"ip": ["25565", "27015", "7777-7784"]
},
{
"src": ["group:casual-gamers"],
"dst": ["tag:game-server"],
"via": ["tag:gaming-exit-node"],
"ip": ["25565", "27015", "7777-7784"]
},
{
"src": ["group:game-admins"],
"dst": ["tag:game-server"],
"ip": ["*"]
},
{
"src": ["tag:gaming-pc"],
"dst": ["tag:gaming-pc"],
"ip": ["*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment