This project is a bash script that aims to setup Wireguard on Ubuntu servers, as easily as possible!
- Make sure that your kernel supports WireGuard (all modern kernels).
- Make sure that you have installed Docker. If not, you can follow this repository.
To install Wireguard UI, run the following command and answer the questions asked by the script.
bash <(curl -sSL https://github.com/ongtungduong/wireguard-installer/raw/main/wireguard-ui.sh)
To get Wireguard CLI, run the following command.
sudo curl -sSL https://github.com/ongtungduong/wireguard-installer/raw/main/wireguard-cli.sh > /usr/local/bin/wgcli
sudo chmod +x /usr/local/bin/wgcli