이 명령을 사용하여 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