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#
- Open the Synology DSM web interface and log in with an administrator account.
- Navigate to
Package Center>Manual Install. - Click
Browseand select the WireGuard.spkfile you downloaded earlier. - Click
Nextand follow the on-screen instructions to complete the installation. You may need to accept a warning about installing packages from third-party sources.
- Once the installation is complete, reboot your Synology NAS to ensure all changes take effect.
- After the reboot, access your NAS via SSH using an administrator account.
- 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.
