ubuntu20.04をWireGuardサーバに仕立ててみる.

WireGuardのサイトから
https://www.wireguard.com/install/

2023y02m09d_050425781.png
とある... kernel moduleがout of date? って大丈夫?と思いつつubuntu20.04に入れてみる LTSだから大丈夫かな

root@ubuntu:~# grep VERSION=  /etc/os-release
VERSION="20.04.5 LTS (Focal Fossa)"
 
root@ubuntu:~# apt update
 
root@ubuntu:~# find /lib/modules -name wireguard.ko
/lib/modules/5.15.0-46-generic/kernel/drivers/net/wireguard/wireguard.ko
 
root@ubuntu:~# apt install wireguard
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  wireguard-tools
Suggested packages:
  openresolv | resolvconf
The following NEW packages will be installed:
  wireguard wireguard-tools                         <---- wireguard と wireguard-tools がインストールされる
0 upgraded, 2 newly installed, 0 to remove and 161 not upgraded.
Need to get 86.6 kB of archives.
After this operation, 344 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
 
root@ubuntu:~#

dkms版とかを思いましたが、ubuntuのkernelには既に「wireguard.ko」が入っていて、upgradeしても提供されるkernelにも「wireguard.ko」が初めから用意されている様子


トップ   編集 添付 複製 名前変更     ヘルプ   最終更新のRSS
Last-modified: 2023-02-09 (木) 06:15:06 (120d)