Kcchouette / OpenVPN-VPS

Install OpenVPN on a VPS
4 stars 4 forks source link
dns openvpn openvpn-vps udp vpn vpn-server vps

OpenVPN-VPS

Install OpenVPN on a new VPS and some tools (nano).

Fork

This fork includes the following features:

Note: Both NSA and ANSSI recommend at least a 3072 bits for a future-proof key. As the size of the key will have an impact on speed, I leave the choice to use 2048, 3072 or 4096 bits RSA key. 4096 bits is what's most used and recommended today, but 3072 bits is still good.

Compatibility

The script is made to work on these OS:

Installation

You have to enable the TUN module otherwise OpenVPN won't work. If the TUN module is not enabled, the script will tell you. Ask your host if you don't know how to do it.

Update your OS before running this script!

apt-get update
apt-get upgrade

Then download the script, run it and follow the assistant:

wget "https://raw.githubusercontent.com/Kcchouette/OpenVPN-VPS/master/openvpn-install.sh" --no-check-certificate
chmod +x openvpn-install.sh
./openvpn-install.sh

Once it ends, you should run it again to add users:

./openvpn-install.sh

Then give all the .ovpn to your client!

Installation of openVPN for the client

See INSTALL_OPENVPN.md

Test of how secure is your VPN

Based on: