This script is made for simplifying the set up of a wireguard vpn as well as an unbound DNS server.
It's originally designed for a Debian server, but could be improved for other Os.
Make sure you have WireGuard installed on your server. Follow those instructions from the official WireGuard website.
To initiate the VPN and configure the Unbound DNS, use the following command and let you guide :
Every time you need to add a peer to your network, use this command and let you guide one more time :
- Add IPv6 support
- Add comments on the code
- Add possibilities to use the script on non-Debian servers
- Make a better client configuration file