If you would like to clear or reset ZeroTier's address on a device (the 10-digit address node ID) or you have cloned a device and you want to prevent it from using the same address, follow these instructions:
Stop the service.
- On Windows this is done with the service manager. (Open the Start Menu and start typing "service")
On Mac you can open a terminal and use
Code Block language bash title Stop Mac Service sudo launchctl unload /Library/LaunchDaemons/com.zerotier.one.plist
.
On Linux this is usually
Code Block language bash sudo systemctl stop zerotier-one
or
Code Block language bash sudo service zerotier-one stop
- On Windows this is done with the service manager. (Open the Start Menu and start typing "service")
Delete the files
identity.public
andidentity.secret
from ZeroTier's working directory.- On Windows this is usually
"\ProgramData\ZeroTier\One"
. - On Mac this is
"/Library/Application Support/ZeroTier/One"
. - On Linux this is usually
"/var/lib/zerotier-one"
.
- On Windows this is usually
Restart the service
. This is "sudo launchctl load ..." on Mac,- starting via the service manager on Windows
On Mac
Code Block language bash sudo launchctl load /Library/LaunchDaemons/com.zerotier.one.plist
On Linux
Code Block language bash sudo systemctl start zerotier-one
or
Code Block language bash sudo service zerotier-one start
When started without identities ZeroTier will generate new ones.
You will need to authorize this new identity on any networks.
...