Skip to content

A short script for setting up a Wireguard VPN and an Unbound DNS server

Notifications You must be signed in to change notification settings

SiwonP/wireguard_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A short script for setting up a Wireguard VPN and an Unbound DNS server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages