
You already have:
Now practice the following:
Create a new VM in VirtualBox (VPN-Server).
Install Ubuntu Server 22.04 (1 CPU, 1 GB RAM).
Install and configure WireGuard:
sudo apt update && sudo apt install wireguard -y
Create /etc/wireguard/wg0.conf:
[Interface]
Address = 10.0.0.1/24
PrivateKey = <server_private_key>
ListenPort = 51820
[Peer]
PublicKey = <client_public_key>
AllowedIPs = 10.0.0.2/32
Enable IP forwarding:
echo "net.ipv4.ip_forward=1" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
Start WireGuard:
sudo wg-quick up wg0
Test: Connect from your host PC using a WireGuard client.
Create a new VM in VirtualBox (Monitor-Server).
Install Ubuntu Server 22.04.
Install Netdata:
bash <(curl -Ss <https://my-netdata.io/kickstart.sh>)
Access Netdata on your browser:
http://<Monitor-Server-IP>:19999