RTNETLINK回答:启动wireguard时不支持操作

RTNETLINK回答:启动wireguard时不支持操作

当我使用此命令启动wireguard时:

$ sudo yum install epel-release https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
$ sudo yum install yum-plugin-elrepo
$ sudo yum install kmod-wireguard wireguard-tools
$ wg-quick up wg0

结果:

Warning: `/etc/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"

这是我的内核版本:

[root@izbp19pke6x0v6ruecuy1yz wireguard]# uname -r
4.4.219-1.el7.elrepo.x86_64

只是不知道问题出在哪里?

yum install kmod-wireguard
Package kmod-wireguard-1.0.20200413-1.el7_7.elrepo.x86_64 already installed and latest version
Nothing to do

相关内容