WireGuard VPN installer for Linux servers
Find a file
liberodark 5fe0882740
Merge pull request #1 from kmartin26/patch-3
fix apt-get remove for debian uninstall
2020-04-14 18:15:00 +02:00
.github Update action 2019-10-30 15:51:42 +09:00
LICENSE Initial commit 2019-05-05 12:42:53 +02:00
README.md Update README.md 2019-12-18 15:52:42 +01:00
wireguard-install.sh fix apt-get remove for debian uninstall 2020-04-09 16:34:50 +02:00

WireGuard installer

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

Requirements

Linux Compatibility : (Systemd)

  • Debian 9.x / 10.x
  • Raspbian 9.x / 10.x
  • Deepin 15.x
  • Ubuntu 16.04 / 19.10
  • Centos 7.x / 8.x
  • Oracle 7.x
  • Red Hat 7.x / 8.x
  • Fedora 15 / 31
  • Arch Linux
  • Manjaro

I recommend these cheap cloud providers for your VPN server:

  • Vultr: Worldwide locations, IPv6 support, starting at $3.50/month
  • PulseHeberg: France, unlimited bandwidth, starting at €3/month
  • Digital Ocean: Worldwide locations, IPv6 support, starting at $5/month
  • Scaleway: France, IPv6 support, starting at €3/month

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 -install

For Remove :

./wireguard-install.sh -remove

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!