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.

So I downloaded the correct one for my arch, unarchived it according to instructions and uploaded it to my Synology device.
It will 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. Download the correct version for your architecture here– we need the standard ‘netclient’ as it’s for most linux distros. Drop that into a folder on your NAS, then SSH in and move it to the correct spot

mv volume3/docker/netmaker/netclient etc/netclient/netclient
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!