WireGuard Linux VPN
2021 WG now included in linux kernel >5.
install wg
apt install wireguard
create keys
sudo mkdir -p /etc/wireguard/keys; wg genkey | sudo tee /etc/wireguard/keys/server.key | wg pubkey | sudo tee /etc/wireguard/keys/server.key.pub
OLD <2018
- 2018 New VPN software
- Got a Android client
Building dkms module problems
- 2018 got errors adding module to kernel 4.17.2-041702-lowlatency
Package linux-headers-4.17.2-041702-lowlatency is not available, but is referred to by another package.
* dkms: running auto installation service for kernel 4.17.2-041702-lowlatency Error! Your kernel headers for kernel 4.17.2-041702-lowlatency cannot be found.
- Resolution
Looking at
$ ls -l /lib/modules/4.17.2-041702-lowlatency/
missing symbolic link build -> /usr/src/linux-headers-4.17.2-041702/
Add
ln -s /usr/src/linux-headers-4.17.2-041702/ /lib/modules/4.17.2-041702-lowlatency/build
- DID NOT WORK !
...