A Wireguard config generator for setting up a basic connection between two hosts
One Two
Interface names
IPs
Public addresses
Ports

Note

The public/private key pairs are generated each time the page is loaded, and are not saved.
However, as you can't verify this, you probably shouldn't trust me on this, and should generate your own key pairs.

On host One

sudo apt-get install wireguard-tools
Save the following into /etc/wireguard/bravo.conf
[Interface] Address = 192.168.77.1/24 SaveConfig = true ListenPort = 51820 PrivateKey = TYLOA8m2kszaU/4Lbccezxu0AMiDSSdB6tRNCkrko9M= [Peer] Endpoint = bravo.example.com:51820 AllowedIPs = 192.168.77.2/24 PublicKey = RSxAEgEEkRMv/cFI2mpchy2zRFv36RXxEXGCYdm77nI= sudo chmod 600 /etc/wireguard/bravo.conf
sudo systemctl enable --now wg-quick@bravo
ping 192.168.77.2/24

On host Two

sudo apt-get install wireguard-tools
Save the following into /etc/wireguard/alpha.conf
[Interface] Address = 192.168.77.2/24 SaveConfig = true ListenPort = 51820 PrivateKey = qqcE4Sf38619b/twc2mzlXALPv5xSy/X6QDf034blZA= [Peer] Endpoint = alpha.example.com:51820 AllowedIPs = 192.168.77.1/24 PublicKey = odDM3mit7J/iwIKTW02TwrMXTphecdvPlrFwBbEv0rU= sudo chmod 600 /etc/wireguard/alpha.conf
sudo systemctl enable --now wg-quick@alpha
ping 192.168.77.1/24