First install Wireguard

There are some prebuilt binaries here, but not for DSM 7. I used the instructions to build a Docker container and leverage it to build the DSM 7 binaries, however it failed at the last step saying there ‘platform not available’. This hints that the script for my architecture was missing or wrong and I never got it sorted.

Luckily there is this fork, but that didn’t help much. What eventually did was finding that some kind soul had made the packages here.

Log in to your Synology, go to Control Panel/ Info and find your CPU.
For instance a DS1819+ has an INTEL Atom C3538, and when we google this, we find it’s a ‘Denverton’ CPU. So go to the link above and download the Denverton bundle. Unarchive it according to instructions (don’t just double click on a Mac, you’ll get a bunch of files and folders, not an installable .spk bundle

gzip -d  /Users/myaccount/Downloads/WireGuard-denverton-1.0.20210606.spk.gz

and upload it to your Synology device-
Package Centre/ Manual Install
Untick the ‘start after install’. It may show in DSM as needing ‘repair’ but what you have to do is this-

log in to your Synology with SSH and run

sudo /var/packages/WireGuard/scripts/start

Now we have to install the NetMaker Netclient. See correct version for your architecture here– we need the standard ‘netclient’ as it’s for most linux distros. SSH in,  create a directory inside /etc for netclient and download it directly-

mkdir etc/netclient && curl -L https://github.com/gravitl/netmaker/releases/latest/download/netclient --output /etc/netclient/netclient

Make it executable

chmod a+x etc/netclient/netclient

and run it with your join code

sudo etc/netclient/netclient join -t <your_token>



You should see a bunch of text confirming your connection has come up!