runfalk / synology-wireguard

WireGuard support for some Synology NAS drives
MIT License
919 stars 131 forks source link

List DS220j in supported device #87

Open bigfoot90 opened 3 years ago

bigfoot90 commented 3 years ago

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
OfficialMuffin commented 2 years ago

How did you get yours working. I have the same DS220j NAS but I am running into resolvconf and iptables errors. Issue here #126