Karizanta – OpenVPN installer for Debian, Ubuntu, Fedora, CentOS.

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:


You need to run the script as root and have the TUN module enabled.
A default set of variables will then be set, by passing the need for user input.If you want to customize your installation, you can export them or specify them on the same line, as shown below.


  • DNS=1
  • CLIENT=clientname
  • PASS=1


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


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.

  • 0 Users Found This Useful
Was this answer helpful?