Dear all,
I'm trying to run a Wireguard client on one of my cluster nodes that I can access the WebGUI from home and actually it worked more or less in the passt like this. The problem was always that from time to time the connection got lost or it needed 1-2 minutes to load the web GUI via WG. So I found some posts that "resolvconf" would probably not work together with other network managers. So this time I setup the complete cluster from the scratch and I would like to do it better this time. So far I did install wireguard and crated a /etc/wireguard/wg0.conf file with the working credentials in it.
At this point I tried to start the service but got the following error:
Now is my question what should I install? resolvconf, or something different? Is there anything else to think about when running WG on a Proxmox system itself?
I'm trying to run a Wireguard client on one of my cluster nodes that I can access the WebGUI from home and actually it worked more or less in the passt like this. The problem was always that from time to time the connection got lost or it needed 1-2 minutes to load the web GUI via WG. So I found some posts that "resolvconf" would probably not work together with other network managers. So this time I setup the complete cluster from the scratch and I would like to do it better this time. So far I did install wireguard and crated a /etc/wireguard/wg0.conf file with the working credentials in it.
At this point I tried to start the service but got the following error:
Code:
root@cluster01-hp-proliant-gen9:/# systemctl status wg-quick@wg0.service
● wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0
Loaded: loaded (/lib/systemd/system/wg-quick@.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-12-17 01:08:11 CET; 1min 12s ago
Docs: man:wg-quick(8)
man:wg(8)
https://www.wireguard.com/
https://www.wireguard.com/quickstart/
https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8
https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
Process: 21055 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=127)
Main PID: 21055 (code=exited, status=127)
CPU: 69ms
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21055]: [#] wg setconf wg0 /dev/fd/63
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21055]: [#] ip -4 address add 10.66.66.13/32 dev wg0
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21055]: [#] ip -6 address add fd42:42:42::13/128 dev wg0
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21055]: [#] ip link set mtu 1420 up dev wg0
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21086]: [#] resolvconf -a wg0 -m 0 -x
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21088]: /usr/bin/wg-quick: line 32: resolvconf: command not found
Dec 17 01:08:11 cluster01-hp-proliant-gen9 wg-quick[21055]: [#] ip link delete dev wg0
Dec 17 01:08:11 cluster01-hp-proliant-gen9 systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=127/n/a
Dec 17 01:08:11 cluster01-hp-proliant-gen9 systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'.
Dec 17 01:08:11 cluster01-hp-proliant-gen9 systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0.
Now is my question what should I install? resolvconf, or something different? Is there anything else to think about when running WG on a Proxmox system itself?