Skip to content
A short script for setting up a Wireguard VPN and an Unbound DNS server
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore minor no images Jul 1, 2019
README.MD minor updating todo Jul 1, 2019 oops Jul 9, 2019 MAJOR perfecting the ip regex Jul 11, 2019


WireGuard Setup

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 :

./ init

Every time you need to add a peer to your network, use this command and let you guide one more time :

./ peer


  • Add IPv6 support
  • Add comments on the code
  • Add possibilities to use the script on non-Debian servers
  • Make a better client configuration file
You can’t perform that action at this time.