I've tested your package on mine device Synology DS220j and it is working well.
Just one small note:
To have the connection persistent over power failure, I had to write a script in /etc/init/wireguard.conf and made it executable
wireguard.conf:
description "Wireguard"
console log
# only start this service after the network been initialized
start on syno.network.ready
# stop the service gracefully if the runlevel changes to 'reboot'
stop on runlevel [06]
script
echo Awaiting for network
sleep 10
wg-quick up wg0
end script
# vim:ft=upstart
I've tested your package on mine device
Synology DS220j
and it is working well.Just one small note: To have the connection persistent over power failure, I had to write a script in
/etc/init/wireguard.conf
and made it executablewireguard.conf: