Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.11 KB

File metadata and controls

13 lines (11 loc) · 1.11 KB

syno-wg-autoinstaller.sh

This script will build the latest version of WireGuard for your Synology NAS and install/update the package. It must be used on a Synology DiskStation NAS so that it can detect your DSM version, package architecture, and interact with your NAS. The script will ask for sudo access - Depending on how long it takes to build the WireGuard SPK, you may have to enter your password for sudo twice.

Setup

  1. Enable SSH if not already enabled
  2. Check that the Synology official Docker and Git Server packages are installed
  3. Check that the Trust Level is set to "Any publisher" in the Package Center settings
  4. SSH into your NAS with a user with root access
  5. Run wget https://raw.githubusercontent.com/raman325/syno-wg-autoinstaller/master/syno-wg-autoinstaller.sh
  6. Run chmod +x syno-wg-autoinstaller.sh

Usage

For basic usage, simply run ./syno-wg-autoinstaller.sh. For advanced usage, run ./syno-wg-autoinstaller.sh --help to see configuration options.