Setup OpenVPN on Ubuntu 16.04

Setup OpenVPN on Ubuntu 16.04

Note:
  • The following tutorial has been created on Ubuntu 16.04.
  • The following configuration needs to be done while logged in as a "SuperUser".
  • For OpenVPN TCP you will need to import TCP config file in the network manager.
  • For OpenVPN TCP you will need to put a check mark against "Use a TCP connection".

Ubuntu

Step 1: Install OpenVPN network manager.
OpenVPN network manager

Step 2: If you are unable to install openvpn network manager using the command in step 1 then try the following command:
Linux

Step 3: Now restart network manager.
Network manager

Step 4: Now click on Network Connection then VPN Connection and select "Configure VPN".
Configure VPN

Step 5: Now select "Add".
Add

Step 6: Now select "Import a saved VPN configuration".
Import a saved VPN configuration

Step 7: Download the OpenVPN configuration files by clicking onĀ TCP and UDP. Then browse to the folder where you have saved the configuration files.
Configuration

TCP

Step 8: Enter OneVPN username and password.
OneVPN username

Step 9: Now we need to acquire the "CA Certificate". Edit any of the configuration files and copy the certificate then paste it in a blank file and save it as "ca.pem".
CA Certificate

Configuration

Paste

Save

Step 10: Now browse and provide the path where you have save the "ca.pem" file.
Browse

Step 11: Now select "Advanced".
Advanced

Step 12: Now specify the port for OpenVPN TCP or UDP which is "4443".
OpenVPN TCP

Step 13: Now select "TLS Authentication" tab.
TLS Authentication

Step 14: Put a check mark on "Additional TLS Authentication" and then edit any OpenVPN configuration file to copy the "key" configuration and then save it in an empty file as "ta.key" and provide the path where you have saved it.
Additional TLS Authentication
Step 15: Now click on "Key Direction" and select "1" then press "OK".
Key Direction

Step 16: Now click on "save".
save

Step 17: Now click on Network Connection then VPN Connection and select the "UDP" connection to connect VPN.
UDP

Step 18: You are now connected via OpenVPN UDP. Enjoy complete internet freedom!
connected

<< Back to Downloads Page