Secure OpenVPN installer for Debian, Ubuntu, CentOS and Arch Linux.
This script will let you setup your own secure VPN server in just a few minutes.
First, get the script, then make it executable and finally run it:
wget https://raw.githubusercontent.com/hybtoy/OpenVPN-install/openvpn-2.4/openvpn-install.sh
chmod +x openvpn-install.sh
./openvpn-install.sh
The first time you run it, you'll have to follow the assistant and answer a few questions to setup your VPN server.
When OpenVPN is installed, you can run the script again, and you will get the choice to :
- Add a client
- Remove a client
- Uninstall OpenVPN
The script is made to work on these OS and architectures :
- Debian 7 (i386, amd64)
- Debian 8 (i386, amd64)
- Debian 9 (i386, amd64, armhf, arm64)
- Ubuntu 12.04 LTS (i386, amd64)
- Ubuntu 14.04 LTS (i386, amd64)
- Ubuntu 16.04 LTS (i386, amd64)
- Ubuntu 16.10 (i386, amd64, armhf, arm64)
- Ubuntu 17.04 (i386, amd64, armhf, arm64)
- CentOS 6 (i386, amd64)
- CentOS 7 (i386, amd64, arm64)
- Arch Linux (i686, amd64)
Credits to:
@Angristan @Nyr