Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

josh/ts-acl-hosts-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-acl-hosts-gen

Updates a Tailscale ACL policy hosts section with all the nodes on your network. This is best used in a small homelab Tailnet. Keep in mind nodes themselves may manipulate their own hostname and may be able to escalate pervileges by doing so.

Installation

go get -tool github.com/josh/ts-acl-hosts-gen@latest
go tool github.com/josh/ts-acl-hosts-gen

Usage

$ ts-acl-hosts-gen --help
usage: ts-acl-hosts-gen [flags] policy.hujson
  -api-key string
        Tailscale API key
  -oauth-id string
        Tailscale OAuth client ID
  -oauth-secret string
        Tailscale OAuth client secret
  -version
        print version and exit

About

Generate Tailscale hosts policy from existing nodes

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages