[SOLVED] Wireguard on unprivileged LXC seems to be broken after a recent update

Sandbo

Well-Known Member
Jul 4, 2019
85
10
48
35
I updated Proxmox via the GUI today, after a reboot I realized my LXC wireguard client can no longer connect to a wireguard server as usual.
The journal shows the below:

Code:
Jul 11 16:35:00 CSWG2 wg-quick[334]: [#] ip link add wg0 type wireguard
Jul 11 16:35:00 CSWG2 wg-quick[341]: Error: Unknown device type.
Jul 11 16:35:00 CSWG2 wg-quick[343]: Unable to access interface: Protocol not supported
Jul 11 16:35:00 CSWG2 wg-quick[334]: [#] ip link delete dev wg0
Jul 11 16:35:00 CSWG2 wg-quick[344]: Cannot find device "wg0"

It looks like now the device wg0 cannot be created as before. Do you have any idea?

Update:
It looks like the kernel update did not install the headers automatically, you can follow the guide here to do so:
https://securityboulevard.com/2019/04/howto-install-wireguard-in-an-unprivileged-container-proxmox/

It nows works for me again.
 
Last edited: