The Netmaker VPN service comes with clients for multiple architectures and platforms. I had the need to enable a Netmaker network on a Synology NAS still running DSM 6.x (which uses Upstart, instead of systemd, for startup scripts). Since it uses Wireguard as a protocol, you may or may not be able to do this, depending on your ability to get Wireguard loaded onto your NAS.
- Determine what CPU architecture your NAS has.
- Install Wireguard on your NAS. Older DSM 6.x units should be able to use this Github repo. Newer installs will want to refer to this Docker-driven installation process.
- SSH into your NAS; using PuTTY, Bitvise, or native SSH client. You'll need to be a root/admin-level user; when you're in, sudo su - and enter your user password when asked.
- Visit the Netmaker release site, and get the URL for the appropriate netclient-linux for your system: you can download it directly to your NAS via wget in the SSH window you just opened up.
- Where you downloaded the binary, run chmod a+x .\netclient && .\netclient install ; you may need to change netclient to the name of the file you actually downloaded.
- DSM 6.x NAS units: you'll need to make an upstart script to kick off the netclient daemon. Use vi to edit /etc/init/netclient with the script below. After loading the script, use start netclient to boot the daemon.
- DSM 7.x NAS units use systemd for services. In theory, the netclient install should add a service, but I have not tested this.
- Refer to your Netmaker server installation, or SaaS console, on adding a node; it'll give the correct netclient command to join the network. Copy & paste that command into the SSH session.
- Once the node is joined, test pings from it to another node in your network. Once that's verified as working, you may delete the installer file you downloaded, and exit the SSH session.
description "start netclient"
console log
start on syno.network.ready
stop on runlevel [06]
respawn
respawn limit 5 10
exec /sbin/netclient daemon