In this tutorial i will tell you how to install openvpn access server on Ubuntu pc. I am using ubutu 16.04 lts 64bit. OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (NATs) and firewalls.
first you need to go to this link and download the packages. This link has the option to let you download either 64 or 32 bit package.
https://openvpn.net/index.php/access-server/download-openvpn-as-sw/113.html?osfamily=Ubuntu
once its download it, you can go to the download folder directory and run this command. This command will install openvpn on to the Ubuntu pc.
dpkg -i openvpn-as-2.1.4b-Ubuntu16.amd_64.deb ( This is the 64 bit package name i have downloaded to Download Folder.)
During the installation, OpenVPN has created a default admin user called ‘openvpn’. We need to set a password for ‘openvpn’. To do that, enter the following command:
sudo passwd openvpn
you will be prompted to enter your new password.
Now you have installed and configured password for openvpn, its time to connect to the vpn server.
on terminal type ifconfig to find your Ubuntu ip address, you can type in your ip address in Firefox or any other url to get to the User Interface.
Admin UI: https://YourIpAddress:943/admin Use this if your administrator
Client UI: https://YourIPAddress:943/ Use this if you are a client