binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
473 stars 48 forks source link

Wireguard setup on Synology? Is this possible given Synology kernal version is 4.4.180? #130

Open wiffleman opened 2 years ago

wiffleman commented 2 years ago

Thanks for this - great community. Setup: Synology ds920+ on DSM7. Kernal 4.4.180 I have my arch-qbittorrentvpn working with OpenVPN, but am trying to change the protocol for the VPN to Wireguard and am running into issues; namely:

  2022-03-17 16:57:35,514 DEBG 'start-script' stdout output:
  [info] Attempting to bring WireGuard interface 'up'...

  2022-03-17 16:57:35,526 DEBG 'start-script' stderr output:
  Warning: `/config/wireguard/wg0.conf' is world accessible

  2022-03-17 16:57:35,532 DEBG 'start-script' stderr output:
  [#] ip link add wg0 type wireguard

  2022-03-17 16:57:35,534 DEBG 'start-script' stderr output:
  RTNETLINK answers: Operation not supported

  2022-03-17 16:57:35,537 DEBG 'start-script' stderr output:
  Unable to access interface: Protocol not supported

  2022-03-17 16:57:35,537 DEBG 'start-script' stderr output:
  [#] ip link delete dev wg0

  2022-03-17 16:57:35,540 DEBG 'start-script' stderr output:
  Cannot find device "wg0"

  2022-03-17 16:57:35,541 DEBG 'start-script' stdout output:
  [warn] WireGuard interface failed to come 'up', exit code is '1'

I have done some reading and believe this is attributed to outdated Kernal versions and I cannot seem to find a resource to update my Kernal appropriately. Therefore I don't think the device wg0 is installed on my Synology and therefore the WG service is not working.

Can someone point me in the right direction on how to get started..?

Avsynthe commented 2 years ago

I'd love to know if it will work after adding this:

https://github.com/runfalk/synology-wireguard

It provides the WireGuard kernel module and the wg/wg-quick commands.

PancakeZik commented 2 years ago

Very curious as well... Maxing 35 MB/s with OpenVPN, wondering if wireguard could help me get closer to my 1Gbps connection capacity