WireGuard automated installer | Ubuntu, Debian, CentOS, Fedora

Lightweight WireGuard installer, written entirely in bash.

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

Supported distros:

  • Ubuntu 20.04 and 18.04
  • Debian 10
  • Centos 8 and 7
  • Fedora 32 and 31


Will it work in my Raspberry Pi?
Probably, I don’t have one to test. Install the raspberrypi-kernel-headers package and hope for the best. But you should consider using a distribution with built-in kernel support when it becomes available.

OpenVZ support?
News on this soon. I have something in mind, but I want to do it right and it’s a decent ammount of work. That’s why I wanted to release the current version of wireguard-install, which is fully compatible with everything else first.

Can you add x feature?
Maybe, if it’s worth it. But I’ll keep the installer simple and functional, so keep that in mind. Niche features are unlikely to be implemented.

I like the project, how can I help?
Tell other people about it! wireguard-install is new and many people do not yet know about it. Some other low-quality tools based on my openvpn-install work exist, with credits and copyright notices removed. It’s a sad sight to me after nearly a decade maintaining openvpn-install.


Great work Nyr. I still use your previous work on openvpn script till date.

Thank you for your contribution.

1 Like

Nice, I have something to replace https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/vpnsetup.sh :slight_smile: