![raspberry pi vpn guard raspberry pi vpn guard](https://alexpro.sytes.net/wp-content/uploads/2020/06/Wireguard-02.jpg)
WireGuard public key of the Raspberry Pi: csQQ8c7waCFksyIQ圜OIu/eqxaGUxueu8h02qr1f81Q=.IP address of the Raspberry Pi in the network: 10.222.0.106.The K3s token located in /var/lib/rancher/k3s/server/token.
![raspberry pi vpn guard raspberry pi vpn guard](https://i.ytimg.com/vi/lnYYmC-A4S0/maxresdefault.jpg)
The WireGuard public key generated on the cloud VM.The WireGuard public key generated on the Raspberry Pi.
![raspberry pi vpn guard raspberry pi vpn guard](https://zya.beegeescover.pl/templates/64af9ff6ec07d70d68e9adf4e68843a5/img/93774c97fc88b311a162ab6897859f4c.jpg)
#RASPBERRY PI VPN GUARD INSTALL#
The first step was to install the WireGuard package: We choose Ubuntu 20.04 as the operating system for our cloud VM. You do not have to type that into your shell. As a convention we start the start of a shell command with a $in our listings. All shell commands must be executed as the root user. This section talks you through the installation and configuration of the cloud VM. The next to section will talk you through the setup of the cloud VM and the Raspberry Pis. (After checking the network ranges of the participants’ home setups to avoid ip range collisions) we chose the network 10.222.0.0/24 for our nodes in the WireGuard network. The Raspberry Pis are hosting the K3s agents. We did this since the VM has a stable public IP and thus every Raspberry Pi is able to initiate a WireGuard tunnel to the VM. In our prototype we decided to build the WireGuard network as a star topology: every Raspberry Pi is connected to a central cloud VM.
#RASPBERRY PI VPN GUARD SERIES#
Over the years we have developed a series of measures with which we ensure our high knowledge and quality standards. One of these are our Tech Days, where colleagues from a technology department meet and train together with and on cool technologies. If we want to be and remain innovative and excellent in a dynamic environment, we have to take care of it.
#RASPBERRY PI VPN GUARD HOW TO#
This blog post is a tutorial on how to set up a WireGuard network using Raspberry Pis for a K3s cluster, with each device connected to a central cloud virtual machine (VM).Īt the core of inovex are the values innovation and excellence.