Skip to content

Instantly share code, notes, and snippets.

@hcgatewood
Last active April 10, 2025 03:34
Show Gist options
  • Save hcgatewood/457b38fbf7c73d4f7db9cfc4c65bc27a to your computer and use it in GitHub Desktop.
Save hcgatewood/457b38fbf7c73d4f7db9cfc4c65bc27a to your computer and use it in GitHub Desktop.
Connect to a Synology NAS via Tailscale

Access Synology via Tailscale

This guide outlines steps to connect to Synology NAS services (e.g. Synology Drive) via Tailscale.

The goal is to preserve Tailscale as the single point-of-public-entry for your Synology NAS, while enabling e.g. HTTPS certificates.

Prerequisites

  1. Create a Tailscale account
  2. Install Tailscale onto your Synology NAS

Enable Tailscale HTTPS

Enable HTTPS for your tailnet.

Configure NAS with Tailscale certificates

  1. Configure your Synology NAS to generate and use Tailscale-provided certificates
  2. In your Synology NAS's web UI, go to Control Panel > Security > Certificate > Settings, then choose the Tailscale-provided certificate for every listed service (note: this configures ~all direct HTTPS requests to use the Tailscale certificate, which you may not want)

Test HTTPS connection

On your device of choice, e.g. a personal laptop:

  1. Copy your Synology NAS's fully qualified Tailscale domain name
  2. In a browser, visit the HTTPS version of that Tailscale domain name, e.g. https://YOUR_DOMAIN_NAME
  3. Ensure you can log in and the connection is listed as "secure"

Finally, consider repeating a similar test for desktop applications like Synology Drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment