1
0
Fork 0
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
Find a file
TimForbes 95d168224e optimizations made:
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.
2023-04-10 08:33:54 +02:00
.gitignore optimizations made: 2023-04-10 08:33:54 +02:00
LICENSE.txt Create LICENSE.txt 2013-12-09 00:53:09 +01:00
openvpn-install.sh Update to easy-rsa v3.1.2 2023-01-18 18:40:18 +01:00
README.md Update README.md 2022-08-21 19:33:38 +02:00

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!