Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Zerotier key not persistent over reboot

Joined
Nov 25, 2018
Messages
3
Thanks
0
#1
I am using freenas with the built-in zerotier. After each reboot, the zerotier client will change its credentials and therefore I need to re-approve the node in the my.zerotier.com console. Besides, the zerotier built-in hasn't been updated for a long time, please do proper code maintenance.
 

sretalla

FreeNAS Guru
Joined
Jan 1, 2016
Messages
1,005
Thanks
249
#2
Are you using the -T option to specify the same token as you approved already when you start the connection? I note that the default for that option is "auto" so may explain a change each reboot if you don't.

Code:
Usage: zerotier-cli [-switches] <command/path> [<args>]

Available switches:
  -h                      - Display this help
  -v                      - Show version
  -j                      - Display full raw JSON output
  -D<path>                - ZeroTier home path for parameter auto-detect
  -p<port>                - HTTP port (default: auto)
  -T<token>               - Authentication token (default: auto)

Available commands:
  info                    - Display status info
  listpeers               - List all peers
  listnetworks            - List all networks
  join <network>          - Join a network
  leave <network>         - Leave a network
  set <network> <setting> - Set a network setting
  listmoons               - List moons (federated root sets)
  orbit <world ID> <seed> - Join a moon via any member root
  deorbit <world ID>      - Leave a moon
 
Top