Install wireguard on ubuntu server 22.04
$wget https://git.io/wireguard -O wireguard-install.sh && sudo bash wireguard-install.sh
if you want to create another profile
$sudo bash wireguard-install.sh
$wget https://git.io/wireguard -O wireguard-install.sh && sudo bash wireguard-install.sh
if you want to create another profile
$sudo bash wireguard-install.sh