Skip to content

pschmitt/zerotier-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zerotier-hosts

Requirements

Installation

Just grab zerotier-hosts.sh, chmod +x it and go.

Usage

zerotier-hosts.sh --token API_TOKEN [--network NETWORK_NAME] [--suffix SUFFIX]

See zerotier-hosts.sh --help for more information.

OpenWRT setup

CronJob

Setup a cronjob to run this periodically:

# Update zerotier hosts file ever hour
0 * * * * /usr/bin/zerotier-hosts.sh --suffix wg --output /tmp/hosts.zerotier

About

Generate a hosts file for your Tailscale peers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages