Skip to content

Instantly share code, notes, and snippets.

@donfanning
Created January 25, 2022 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donfanning/baf5a2022b40e9d3c25afd7fb7c2aaa3 to your computer and use it in GitHub Desktop.
Save donfanning/baf5a2022b40e9d3c25afd7fb7c2aaa3 to your computer and use it in GitHub Desktop.
ZeroTier rename from dynamically generated to ZT0
Zerotier reset interface name from ztxxxxxxx to zt0:
Step 1: create file /var/lib/zerotier-one/devicemap
Step 2: add a line `networkID=ifname`
example:
80xxxxxxxxxxx6d=zt0
Step 3: restart zerotier-one service
systemctl restart zerotier-one
Step 4: ...
Step 5: Profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment