mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 19:53:30 +03:00
WireGuard VPN installer for Linux servers
This commit puts the client creation logic into a function. By running the script followed by `add_client`, the user will be asked a few questions and a new peer will be added. Removing client is **not** supported. The client files have random names. Fix for https://github.com/angristan/wireguard-install/issues/3 |
||
---|---|---|
.github | ||
LICENSE | ||
README.md | ||
wireguard-install.sh |
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
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
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!