mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
![]() Replaced the hash command with command -v, which is more portable and POSIX compliant. Combined the apt-get update and apt-get install commands into a single command to reduce the number of commands executed. Simplified the command to retrieve the system's IP address by using the ip -4 addr show command and filtering the output with grep and awk. Removed the redundant grep command in the condition for checking the number of IPv4 addresses on the system. Simplified the command for selecting the user's desired IPv4 address by using sed instead of grep and cut. |
||
---|---|---|
.gitignore | ||
LICENSE.txt | ||
openvpn-install.sh | ||
README.md |
New: wireguard-install is also available.
openvpn-install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, 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 OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
Installation
Run the script and follow the assistant:
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
I want to run my own VPN but don't have a server for that
You can get a VPS from just 2€/month at AlphaVPS.
Donations
If you want to show your appreciation, you can donate via PayPal or cryptocurrency. Thanks!