English English

OpenVPN Server on Ubuntu Tutorial

OpenVPN is an open source SSL VPN, which works in many Linux distributions.

Your VPN server will be accessable from several operating systems and smartphones.

There 2 ways to get to an openVPN server, but here i will show you the easier way.


For this tutorial: root access to your server is needed!


Download the latest software version for you distribution:



On Ubuntu and Debian-like distributions:


In distributions which use the rpm package manager:


sudo rpm -i openvpn-as....

Attention: Please you the appropriate bit version to your operating systems


Before you can log into the web interface of your VPN server,
you must set a password for the user openvpn:

sudo passwd openvpn 

With the user openvpn and your selected password you can now log into the web interface of your vpn server:


Additional settings can be set now on that interface.

Clients can download the needed software and connecting profiles from this site:

That is also the client login page from openVPN.

I recommed for further user to bind the access of the admin webinterface only on localhost.

(This can be set on the web interface)


The more complicated option and the second option would be to install openVPN from source.

Further information about that option:



We use cookies on our website. They are essential for the operation of the site