Skip to main content
Installing WireGuard Module on Synology NAS

Installing WireGuard Module on Synology NAS

·298 words·2 mins·
Photo by boris misevic on Unsplash
WireGuard is a modern, high-performance VPN protocol known for its simplicity and security. Installing the WireGuard module on your Synology NAS can enhance your network security and provide secure remote access to your files and services.

Prerequisites
#

Before proceeding with the installation, you’ll need to identify your Synology NAS architecture. This information is available in the Synology Knowledge Center under CPU specifications.

Note down the Package Arch value that corresponds to your specific NAS model.

Downloading the WireGuard Package
#

Go to https://github.com/vegardit/synology-wireguard/releases and download the latest WireGuard package that matches your NAS architecture and DSM version. The package files are named in the format wireguard-<arch>-DSM<version>.spk.

Installing the WireGuard Package
#

  1. Open the Synology DSM web interface and log in with an administrator account.
  2. Navigate to Package Center > Manual Install.
  3. Click Browse and select the WireGuard .spk file you downloaded earlier.
  4. Click Next and follow the on-screen instructions to complete the installation. You may need to accept a warning about installing packages from third-party sources.
Make sure to uncheck the option to run the package after installation. You will run the package via SSH after the installation is complete.
  1. Once the installation is complete, reboot your Synology NAS to ensure all changes take effect.
  2. After the reboot, access your NAS via SSH using an administrator account.
  3. Start the WireGuard service by executing the following command:
/var/packages/WireGuard/scripts/start

You should now see the WireGuard package running in the Package Center of your Synology DSM interface. Congratulations! You have successfully installed the WireGuard module on your Synology NAS.

You can now configure WireGuard to set up secure VPN connections according to your needs.

References
#