wireguard-install (hwdsl2/wireguard-install)

Searching Database…

What is this?A shell script that automatically installs and configures a WireGuard VPN server on Linux, letting you set up your own VPN in a few minutes without prior WireGuard experience.
Is this a standalone installer or a library I import?It is a single standalone Bash script you download and run on your server; it is not a library or application package.
How do I get the VPN server running?Download wireguard-install.sh to your Linux server and run it: either auto-install with default options, or run it interactively to customize the DNS name, UDP port, DNS server for clients, and first client name.
What kind of server do I need to run this on?You need a cloud server, VPS, or dedicated server running one of the supported Linux distributions (Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, Fedora, openSUSE) or Raspberry Pi OS.
Any gotchas with firewalls or ports?If your server sits behind an external firewall (e.g. on EC2 or GCE), you must manually open the UDP port used by WireGuard (default 51820, or your custom port) for the VPN to work.
Which client devices can connect?The script generates VPN profiles and QR codes to auto-configure Windows, macOS, iOS and Android client devices.
How do I manage VPN users after setup?You just run the script again on the server to add/remove/list clients, show a QR code for a client, or fully uninstall WireGuard.
How is this different from the original Nyr/wireguard-install?It is a fork with added openSUSE support, DNS-name server addresses, custom DNS for clients, command-line options for managing clients, sysctl performance tuning, and improved compatibility with the related Setup IPsec VPN project.
Does it support IPv6?Yes, it provides dual-stack IPv4 and IPv6 support for VPN clients.
Can I automate the install without any prompts?Yes, advanced users can pass command-line options for a fully non-interactive install, or feed a Bash here-document with pre-recorded answers to the interactive prompts.
Creator
hwdsl2
Size
0.7 MB
Stars
3.9K
Updated
CommitDec 02
Age
4y
Commits · 90 Days