Для настройки используйте скрипт и следуйте инструкциям
wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh