prefixkit Ask an engineerAsk Support RU

Error reference · WireGuard

WireGuard: RTNETLINK answers: Operation not supported

RTNETLINK answers: Operation not supported / Unable to access interface: Protocol not supported

What it means

wg-quick could not create the wg interface: the kernel has no WireGuard support loaded.

Why it happens

  • The wireguard kernel module is missing (old kernel, kernel updated without reboot).
  • A container (LXC, OpenVZ, Docker without privileges) cannot load kernel modules.

How to fix it

  1. Install the module and load it: apt install wireguard; modprobe wireguard; reboot after kernel updates.
  2. In containers use wireguard-go (userspace) or enable the module on the host.
  3. Check with lsmod | grep wireguard.

Useful tools

Server sizing

Other WireGuard errors

Idea?