First, get the script and make it executable:
curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh
Then run it:
./openvpn-install.shYou need to run the script as root and have the TUN module enabled.
The first time you run it, you’ll have to follow the assistant and answer a few questions to setup your VPN server.
- Add a client
- Remove a client
- Uninstall OpenVPN
In your home directory, you will have
.ovpn files. These are the client configuration files. Download them from your server and connect using your favorite OpenVPN client.