Typically
/etc/wireguard/wg0.conf
sudo systemctl restart wg-quick@wg0
sudo systemctl status wg-quick@wg0
sudo systemctl enable wg-quick@wg0
wg genkey > privatekey
wg pubkey < privatekey > publickey
wg genkey | tee privatekey | wg pubkey > publickey
openssl rand 32 | base64