Features
There are optional parameters were introduced:
--clients=<clients_count>
how many client's configs will be created--no-unbound
disables Unbound server installation (1.1.1.1 will be used as
a default DNS for client's configs)--no-reboot
disables rebooting at the end of the script execution
Example
wget https://raw.githubusercontent.com/drew2a/wireguard/master/wg-ubuntu-server-up.sh
chmod +x ./wg-ubuntu-server-up.sh
sudo ./wg-ubuntu-server-up.sh --no-unbound # run script without unbound installation