DyonR / docker-Jackettvpn

Docker container which runs a headless Jackett Server with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/jackettvpn/
GNU General Public License v3.0
70 stars 31 forks source link

Wireguard Not Working DSM 7 #68

Open yuljk opened 2 years ago

yuljk commented 2 years ago

Hi - I'm running the latest DSM 7 release and I'm trying to connect to Mullvad VPN via wireguard.

I've placed my downloaded config file in the correct location and renamed accordingly.

I get the following when starting the container..

[#] ip link add wg0 type wireguard Unable to access interface: Protocol not supported RTNETLINK answers: Operation not supported [#] ip link delete dev wg0 Cannot find device "wg0"

and it never starts.

The container is running with the highest privileges and I have set the PUID and PGID to the administrator user (for testing)

Any ideas?

Many thanks

RTNETLINK answers: Operation not supported

jpnoehre commented 2 years ago

You need to install the Wireguard module in your DSM7 installation. DSM7 uses an old Linux kernel that doesn't have Wireguard support.

https://hub.docker.com/r/blackvoidclub/synobuild71

That docker image will build a .SPK package that will add Wireguard support to DSM7.

jpnoehre commented 2 years ago

There's also some prebuilt SPKs but I didn't have any luck with them on my Synology:

https://www.blackvoid.club/wireguard-spk-for-your-synology-nas/