for DSM 7.2, tested for DS920+
Choose your Synology arhitecture from here: https://kb.synology.com/en-ca/DSM/tutorial/What_kind_of_CPU_does_my_NAS_have
You can choose from following models as an option:
- apollolake
- braswell
- broadwell
- broadwellnk
- denverton
- geminilake
- r1000
- v1000
git clone https://github.com/gpopesc/wireguard-module-synology.git
cd wireguard-module-synology
and run as root user:
sudo sh ./install_module.sh
or with the command line parameter selection:
sudo sh ./install_module.sh --option X
in case of eny errors check the screen or log.txt
restart synology if it was uninstalled first.
Use option 9 to uninstall.
- Open
Control Panel - Go to
Task Scheduler - Press
Create->Scheduled Task->User-defined script - Give it a name like "Install WG Modules" and uncheck the
Enabledcheckbox - Select
rootas the user - The schedule tab can be ignored
- In task settings enter an email if you want and check
Send run details by email(you will need email notifications to be configured in DSM) - Paste the following user-defined script. Edit the option and temporary path as needed:
#!/bin/sh
# Variables
LOCAL_PATH="/volume1/docker/_temp/wireguard-module-synology"
OPTION="6"
# Remove the existing directory
#rm -R "$LOCAL_PATH"
# Clone the repository
git clone https://github.com/gpopesc/wireguard-module-synology.git "$LOCAL_PATH"
# Navigate to the local path
cd "$LOCAL_PATH"
# Run the installation script
sudo sh ./install_module.sh --option "$OPTION"
# Echo the log
cat "$LOCAL_PATH/log.txt"
- Save
- Select and Run
https://github.com/WeeJeWel/wg-easy
or