OpenVPN for Ubuntu Linux OS

This tutorial was created on Linux Ubuntu 18.04.1 LTS

Open the Terminal and Type in sudo apt-get update to update the Ubuntu package repository

Method 1: Setup VPN on Ubuntu Linux via Network Manager

 

Install OpenVPN® Plugin for Ubuntu Network Manager

-Open “Terminal” and type following commands.
-Type: sudo apt-get install network-manager-openvpn and press Enter
-It will ask for your password. Enter it
-Type: sudo apt-get install network-manager-openvpn-gnome and press Enter

 
   Now follow the steps given below.
 
Step #1: Download FastestVPN Config Files for OpenVPN TCP and UDP from here.

Step #2: Go to your ‘Downloads’ folder and extract the downloaded config files’ folder.
Ubuntu Linux Open VPN TCP UDP

 
In the extracted folder, you can see two separate folders for configuration files of TCP and UDP servers.
Ubuntu Linux Open VPN TCP UDP

 
Step #3: Now click on the Network icon at top-right side. Then click on Wired Connected > Wired Settings (or Wi-Fi Settings) to launch Network Manager.
Ubuntu Linux Open VPN TCP UDP

 
Step #4: Click on “+” sign there next to VPN.
Ubuntu Linux Open VPN TCP UDP

 
Step #5: Click on Import from file
Ubuntu Linux Open VPN TCP UDP

 
Step #6: Go to your Downloads folder, and then open Fastestvpn_ovpn. After that, open any of the folders TCP or UDP whichever OpenVPN protocol you want to connect to. (Note: UDP is faster than TCP)

Ubuntu Linux Open VPN TCP UDP
Ubuntu Linux Open VPN TCP UDP

 
Step #7: Select your desired VPN server location whichever you want to connect to, such as I selected Australia here.
Ubuntu Linux Open VPN TCP UDP

 
Step #8: Enter your FastestVPN username and password. Select “Store the password for all users” and click on Add there at the top-right side
Ubuntu Linux Open VPN TCP UDP

 
Step #9: Turn the VPN switch “ON
Ubuntu Linux Open VPN TCP UDP

 
VPN connection will go under process. You can see its icon next to Network icon. VPN connection is currently under process.
Ubuntu Linux Open VPN TCP UDP

 
Once the VPN is connected successfully, that icon will turn into a “Lock”.


Ubuntu Linux Open VPN TCP UDP

 
You are connected to FastestVPN. Enjoy Complete Online Freedom with FastestVPN Speed
 

How to Disconnect

When you want to disconnect VPN, click on the Network or VPN icon and go to the connected VPN. After that, select Turn Off
Ubuntu Linux Open VPN TCP UDP

 

 

Method 2: Setup VPN on Ubuntu Linux via Terminal

Step #1: Download FastestVPN Config Files for OpenVPN TCP and UDP from here.

Step #2: Go to your ‘Downloads’ folder and extract the downloaded config files’ folder.
Ubuntu Linux Open VPN TCP UDP

 
In the extracted folder, you can see two separate folders for configuration files of TCP and UDP servers.
Ubuntu Linux Open VPN TCP UDP

 

 
Step #3: Now you need to install OpenVPN. Go to Terminal and write:
sudo apt-get install openvpn
Press “Enter”
Enter y for confirmation and OpenVPN will be downloaded shortly

Ubuntu Linux Open VPN TCP UDP

 
Step #4: Now you need to access OpenVPN config files directory. Write these commands in terminal.

cd Downloads
cd Fastestvpn_ovpn

cd TCP_Files     (OR cd UDP_Files whichever protocol you want to connect to)

Press “Enter”
Ubuntu Linux Open VPN TCP UDP

 
Step #5: Write ls and press “Enter”.
It will list all the available FastestVPN Servers.

Ubuntu Linux Open VPN TCP UDP

 
Step #6: Enter sudo bash. Now write openvpn --config [Your desired server] from this server list .
Example: openvpn --config UK-TCP.ovpn

Ubuntu Linux Open VPN TCP UDP

 
Step #7: It will ask for your credentials. Write your “FastestVPN Username” and “FastestVPN Password” and press “Enter”.
Ubuntu Linux Open VPN TCP UDP

 
Step #8: Once the yellow highlighted message appears, that means you are connected to OpenVPN in Ubuntu Linux OS.
Ubuntu Linux Open VPN TCP UDP

 
Enjoy Complete Online Freedom with FastestVPN Speed

 
To disconnect from VPN, press Ctrl+C in same terminal or in another terminal type sudo killall openvpn

To connect to another server, repeat Step 4 to 7 (as a Root/ Super user).