Synology's DSM 6 will enter EOL status sometime in 2023. ZeroTier will support the latest patched versions of DSM 6.2 until that point. If you are on DSM 6 you can skip all of the below steps and simply: Download DSM 6 packages. Please note that the latest packages will delete your existing identities upon install. Back up these identities if you wish to preserve them.
Synology's DSM 7 doesn't allow third-party applications to run as root. Therefore, we now recommend using Docker to run ZeroTier. While this is somewhat inconvenient at first it is undeniably a safer way to run third-party applications on your NAS. This configuration will be persistent across reboots and DSM upgrades.
The GUI for the Synology Docker package is unreliable at best so it is suggested that all operations performed on your container be done through the Docker CLI. If you choose to use the GUI you do so at your own peril. If you have any issues or questions please create a ticket and we'll try to help out.
To install via Docker there are four steps that need to be performed only once:
SSH into your NAS
The following setup steps must be run as root
Write script to
/usr/local/etc/rc.d/tun.sh that will setup
/dev/net/tun on startup
Set executable permissions on script
Run script once to create a TUN
Check for the TUN
If you experience trouble getting the TUN to work check out Rui Marinho's guide
Package Center -> Search "Docker" -> Install
Make directory to store ZeroTier's identity and config
In the next step we bind mount to the host's
/var/lib/zerotier-one created above in order to store ZeroTier's identity. This is not guaranteed to survive DSM updates. I would suggest placing this on an automatically-mounted volume where your other private user data resides. The location you choose to store your identities should be kept secure and never placed on a shared volume that others can access.
Make Docker container called
zt (Repo: zerotier/zerotier-synology)
Previous versions of our package contained a GUI, however this is no longer the case and it is for the better. The CLI can be used as follows:
View node status
Join your network
Authorize the NAS on your network. Then view the network status:
Show running container (optional)
Enter the container (optional)
To upgrade ZeroTier you'll need to stop and remove the container, then pull latest and start a new container:
Stop the container
Remove the container
Pull latest updates
Now, re-run the commands from the Set up container section.