Skip to content
A short script for setting up a Wireguard VPN and an Unbound DNS server
Branch: master
Clone or download
Permalink
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
client_config.sh oops Jul 9, 2019
server_config.sh MAJOR perfecting the ip regex Jul 11, 2019

README.MD

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.

Usage

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 :

./server_config.sh init

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

./server_config.sh peer

TODO

  • 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.