Closed raman325 closed 3 years ago
Looks really good. Will try it out later.
👍 you can see the script here if you are interested: https://github.com/raman325/syno-wg-autoinstaller
Just an FYI, I ran my script using this branch and was able to successfully upgrade to v1.0.20200712
of the client
@runfalk could you try it?. It would be awesome to merge this if it worked as expected as it would be much easier to maintain/update Wireguard on Synology :D.
@cristiangauma in the interim, you can use the script in the repo linked above to upgrade WG on your Synology using the instructions in the README
So I've finally taken the time to review and test it. I like it and will merge it. Thank you so much for taking the time to do this @raman325.
Instead of having to update this repo for new releases, this version finds the latest version of the three source packages (wireguard, wireguard-tools, and libnml) at build time and allows for using a cache for the environment build packages to avoid all of the problems that occur with downloading from SourceForge. Also updated to use the latest Ubuntu LTM to avoid future maintenance.
I'm working on a bash script that can be run on a Synology NAS to auto-build the latest version of WireGuard and install/upgrade WireGuard to your NAS. These are intermediary steps to get there.
Assuming you are OK with the file changes, I took a stab at updating the README but feel free to update to suit your needs