Access Synology NAS from anywhere

Tailscale makes it easy to securely connect to your Synology NAS devices over WireGuard®.

Tailscale is free for most personal uses, including accessing your NAS.

Installation steps

  1. Visit the Synology Package Center (tutorial).

  2. Search for and install the Tailscale app.

  3. Once the app is installed, follow the instructions to Log in using your preferred identity provider. If you don’t already have a Tailscale account, a free account will be created automatically.

  4. Now your Synology NAS is available on your tailnet. Connect to it from your PC, laptop, phone, or tablet by installing Tailscale on another device.

That’s it!


When used with Synology, Tailscale supports these features:

Limitations & known issues

The first release of our Synology package (1.9.156) has a few limitations you should be aware of:

  • If you upgrade Synology from DSM6 to DSM7, you will need to uninstall and then reinstall the Tailscale app. Do not perform the Synology DSM7 upgrade over Tailscale or you may lose your connection during the upgrade.

  • We always use hybrid networking mode on Synology, which means that if you share subnets, they will be reachable over UDP and TCP, but not pingable.

  • Other Synology apps cannot make outgoing connections to your other Tailscale nodes yet. Only incoming connections work right now.

  • Tailscale on Synology currently can do --advertise-routes but not --accept-routes. This means that if you have other subnet routers, devices on those other subnets will not yet be able to reach your NAS or devices on its local subnet.

  • Subnet routing and exit nodes can only be configured from the command line right now, not the web GUI.

  • The Tailscale package configures Synology port forwarding for port 443. This can lead to conflict with other services that also require port 443 like nginx.

  • Tailscale SSH does not run on Synology.

We intend to fix all these issues in subsequent releases.

See our Synology tracking issue on GitHub for the latest status on the above issues.

Manual installation steps

An alternative to the recommended approach of installing Tailscale from the Synology Package Center is to install Tailscale using a downloadable Synology package (SPK). A reason you might want to install from an SPK is to access new Tailscale features that are not yet released in the Tailscale version that is available from the Synology Package Center.

To manually install Tailscale:

  1. Download the SPK for your Synology device from the Tailscale Packages server. Synology SPKs are available from both stable and unstable release tracks. To determine which download is appropriate for your Synology device, visit the Synology and SynoCommunity Package Architectures page and look up your architecture by Synology model. Then, find the SPK download at Tailscale Packages that corresponds to your model.

  2. In the Synology DSM web admin UI, go to Main menu > Package Center.

  3. Click Manual Install, click Browse, select the SPK (.spk) file that you downloaded, and then click Next.

  4. Follow the remaining prompts to confirm settings and complete installation.

  5. At this point tailscaled should be up and running on your Synology device.

  6. SSH into the Synology device. For <ip-address>, use the Tailscale IP address if your Synology device is already on your tailnet; otherwise use the IP address as recognized by Synology.

    ssh <your-synology-user>@<ip-address>

    (For instructions on using SSH to access Synology, see How can I sign in to DSM/SRM with root privilege via SSH?).

  7. Authenticate with Tailscale by running:

    sudo tailscale up

Enabling Synology outbound connections

Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.

By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound access is not enabled.

The reason for this is that the Tailscale package does not have permission to create the /dev/net/tun TUN device.

But starting with Tailscale 1.12.4, the Synology uses /dev/net/tun if it’s already present on the device.

To enable TUN:

  1. Make sure you’re running Tailscale 1.12.4 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.

  2. Run:

    ssh <your-synology-user>@<tailscale-ip>
  3. Run:

    # Add CAP_NET_ADMIN to the binary; required if manually installing the
    # Tailscale *.spk file.
    # This step is required every time you upgrade Tailscale.
    sudo setcap cap_net_admin+eip /var/packages/Tailscale/target/bin/tailscaled
    # These three commands are only needed once and persist over restarts.
    sudo mkdir -p /dev/net
    sudo mknod /dev/net/tun c 10 200
    sudo chmod 0666 /dev/net/tun
  4. Restart Tailscale using the Synology web UI.

  5. You should now be able to sudo ping <other-tailscale-IPs> from your Synology. Note that on Synology, sudo is required to ping.

Persist the TUN settings

When Synology reboots, the TUN permissions need to be restored. You can create a scheduled task that restores the permissions on boot-up.

To create the task:

  1. Make sure your device is running Tailscale 1.22 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.

  2. In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.

  3. Select User-defined script.

  4. When the Create task window appears, click General.

  5. In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.

  6. Click Task Settings and enter the following for User-defined script.

    /var/packages/Tailscale/target/bin/tailscale configure-host
  7. Click OK to save the settings.

Your TUN settings should now be persisted across reboots of your device.

Special thanks

Special thanks to Guilherme de Maio (nirev), who contributed the original Synology-Tailscale package builder. Tailscale now maintains this package builder and produces our official Synology packages.


If you run into problems, contact support or visit the linked GitHub issues.

Last updated

WireGuard is a registered
trademark of Jason A. Donenfeld.

© 2022 Tailscale Inc.

Privacy & Terms