WireGuard VPN installer for Linux servers
Go to file
Shyam Jos 721d16e979
added missing package - resolvconf
without resolvconf package, systemd unit file will fail in Debian 10 and ubuntu 18.04 or higher versions
see error below 

```
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] ip link add wg0 type wireguard
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] wg setconf wg0 /dev/fd/63
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] ip -4 address add 10.9.0.3/24 dev wg0
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] ip link set mtu 1420 up dev wg0
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] resolvconf -a wg0 -m 0 -x
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: /usr/bin/wg-quick: line 31: resolvconf: command not found
Oct 17 12:11:39 Asus-VivoBook wg-quick[25620]: [#] ip link delete dev wg0
Oct 17 12:11:39 Asus-VivoBook systemd[1]: wg-quick@wg0.service: Main process exited
```
more info here : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930735
2019-10-19 23:12:01 +05:30
.github convert main.workflow to Actions V2 yml file 2019-08-16 18:09:24 +02:00
LICENSE Initial commit 2019-05-05 12:42:53 +02:00
README.md README: Add link to WireGuard's website 2019-08-08 22:57:41 +02:00
wireguard-install.sh added missing package - resolvconf 2019-10-19 23:12:01 +05:30

WireGuard installer

Easily set up a dual-stack WireGuard VPN on a Linux server. See the issues for the WIP.

Requirements

Supported distributions:

  • Ubuntu
  • Debian
  • Fedora
  • Centos
  • Arch Linux

Usage

First, get the script and make it executable :

curl -O https://raw.githubusercontent.com/angristan/wireguard-install/master/wireguard-install.sh
chmod +x wireguard-install.sh

Then run it :

./wireguard-install.sh

It will install wireguard on the server, configure, create a systemd service and a client configuration file. Mutliple clients are not yet supported.

Contributions are welcome!