Hola a tod@s! vamos a intentar instalar una VPN casera. Lo primero de todo voy a intentar explicar por encima qué es una VPN.
Una VPN (Virtual Pri...
For further actions, you may consider blocking this person and/or reporting abuse
Hola antes de nada darte las gracias por este tutorial ya que gracias a el despues de mucho tiempo siguiendo diferentes guias sin exito he conseguido gracias a ti hacer que me funcione wireguard en la raspberry pi 4 y tambien en el movil junto con el pihole, y perdoname por corregirte un pequeño error es este: es el numero uno que faltaba en cat client_private_key y cat client_public_key gracias de nuevo y un saludo
cat server_private_key
cat server_public_key
cat client1_private_key
cat client1_public_key
Hola, yo he tenido el siguiente problema siguiendo la guía:
root@raspberrypi:/etc/wireguard# wg-quick up wg0
[#] ip link add wg0 type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"
He visto que los headers de wireguard no están pese a seguir las instrucciones, y no hay manera de instalar.
root@raspberrypi:/etc/wireguard# modprobe wireguard
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.4.51-v7l+
root@raspberrypi:/etc/wireguard# uname --kernel-release
5.4.51-v7l+
root@raspberrypi:/etc/wireguard# ls -l /usr/src/linux-headers-$(uname -r)
total 1068
drwxr-xr-x 27 root root 4096 Jul 22 17:41 arch
drwxr-xr-x 3 root root 4096 Jul 22 17:41 block
drwxr-xr-x 2 root root 4096 Jul 22 17:41 certs
drwxr-xr-x 4 root root 4096 Jul 22 17:41 crypto
drwxr-xr-x 10 root root 4096 Jul 22 17:41 Documentation
drwxr-xr-x 137 root root 4096 Jul 22 17:41 drivers
drwxr-xr-x 76 root root 4096 Jul 22 17:41 fs
drwxr-xr-x 29 root root 4096 Jul 22 17:41 include
drwxr-xr-x 2 root root 4096 Jul 22 17:41 init
drwxr-xr-x 2 root root 4096 Jul 22 17:41 ipc
-rw-r--r-- 1 root root 595 Jul 20 08:51 Kconfig
drwxr-xr-x 17 root root 4096 Jul 22 17:41 kernel
drwxr-xr-x 18 root root 4096 Jul 22 17:41 lib
-rw-r--r-- 1 root root 61364 Jul 20 08:51 Makefile
drwxr-xr-x 3 root root 4096 Jul 22 17:41 mm
-rw-r--r-- 1 root root 931297 Jul 20 08:51 Module.symvers
drwxr-xr-x 70 root root 4096 Jul 22 17:41 net
drwxr-xr-x 28 root root 4096 Jul 22 17:41 samples
drwxr-xr-x 15 root root 12288 Jul 22 17:41 scripts
drwxr-xr-x 12 root root 4096 Jul 22 17:41 security
drwxr-xr-x 26 root root 4096 Jul 22 17:41 sound
drwxr-xr-x 30 root root 4096 Jul 22 17:41 tools
drwxr-xr-x 3 root root 4096 Jul 22 17:41 usr
drwxr-xr-x 4 root root 4096 Jul 22 17:41 virt
root@raspberrypi:/etc/wireguard# dkms status
root@raspberrypi:/etc/wireguard# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.4.51-v7l
E: Couldn't find any package by glob 'linux-headers-5.4.51-v7l'
E: Couldn't find any package by regex 'linux-headers-5.4.51-v7l'
Se me acabaron los recursos de google :(