/wireguard-install

WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora

Primary LanguageShellMIT LicenseMIT

wireguard-install

WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora.

This script will let you set up your own VPN server in no more than a minute, even if you haven't used WireGuard before. It has been designed to be as unobtrusive and universal as possible.

Installation

Run the script and follow the assistant: before:

modprobe wireguard

reboot

wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh

Once it ends, you can run it again to add more users, remove some of them or even completely uninstall WireGuard.

systemctl enable wg-quick@wg0

systemctl status wg-quick@wg0

systemctl start wg-quick@wg0

systemctl stop wg-quick@wg0

I want to run my own VPN but don't have a server for that

You can get a VPS from just $1/month at VirMach.

Donations

If you want to show your appreciation, you can donate via PayPal or cryptocurrency. Thanks!

qrencode -t ansiutf8 < clent.conf

出现以下错误的解决方法: RTNETLINK answers: Operation not supported,Unable to access interface: Protocol not supported

apt-get update

apt-get install linux-image-amd64 linux-headers-amd64

reboot

apt reinstall wireguard-dkms

reboot