Hello there,
i followed differents guides to install and setup Wireguard through Docker/Portainer on OMV5, mainly those guides :
WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and…
The goal of this guide is to set up a Wireguard server on the host to allow remote access to the network that the server lives on. Point-to-site connection.
There are many ways to set up remote encrypted VPN access to the server. The easiest is to use the openmediavault-wireguard plugin. The plugin does exactly the same as this howto. You can also do it via docker stack, you can see how to do it here. [How-To] Install Wireguard (VPN) in docker, server mode If you are a beginner user…
Here is the docker compose adjusted for my setup
I don't know if i can update OMV to a newer version because it's not a vanilla version : https://github.com/alexhorner/WD-DX4000-Installer
I also installed the qrencode package : sudo apt install qrencode
So my problem is that I can't find the configuration files containing the public and private keys nor generate the QR code neither...
The Wireguard "config" folder remains empty after a successfull install...
Even with LOG_CONFS parameters set to true, the peer/client config qr codes are not output in the docker log...
(Sources : https://hub.docker.com/r/linuxserver/wireguard)
Here is the log :
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 997
User GID: 100
───────────────────────────────────────
Uname info: Linux df872167efd5 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
RTNETLINK answers: Not supported
**** The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe! ****
**** If you have an old kernel without wireguard support built-in, you can try using the legacy tag for this image to compile the modules from scratch. ****
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 997
User GID: 100
───────────────────────────────────────
Uname info: Linux df872167efd5 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
RTNETLINK answers: Not supported
**** The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe! ****
**** If you have an old kernel without wireguard support built-in, you can try using the legacy tag for this image to compile the modules from scratch. ****
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 997
User GID: 100
───────────────────────────────────────
Uname info: Linux df872167efd5 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
RTNETLINK answers: Not supported
**** The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe! ****
**** If you have an old kernel without wireguard support built-in, you can try using the legacy tag for this image to compile the modules from scratch. ****
Display More
I also tried the following command :
but i got only an error :
I finally had a look in the /var/lib/docker/overlay2 because some people found the qrcode there... but not me !
Writing this post i noticed something in the log...
The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe!
Does this mean the installation is not successfull ?
How can i generate the qrcode ?
Thank you very much for your help !!
G.