linux

OpenVPN

How to Setup VPN connection in Ubuntu using OpenVPN protocol?

Step 1:

Open Terminal, Applications-> Terminal

Setup VPN on Linux with OpenVPN

Step 2:

Install (network-manager-openvpn) by using the following command in the terminal:

“sudo apt-get install network-manager network-manager-openvpn network-manager-openvpn-gnome”

Press Enter. (Enter password if needed)

Linux OpenVPN setup in Terminal

Step 3:

You will be prompted: “Do you want to continue? Y/N” Type “Y” and hit Enter

  • If you are getting file lock error, please follow these steps: sudo rm /var/lib/apt/lists/lock
  • You may also need to delete the lock file in the cache directory sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock
  • After that, restart and continue from step 2.

VPN for Linux OpenVPN Terminal instructions VPN for Linux configure OpenVPN in Terminal

Step 4:

Now download LimeVPN OpenVPN Settings here and extract it.

Step 5:

Click on Network Connections on the top right corner, and click on Edit Connections.

Step 6:

Click on Add and select Import a saved VPN configuration…

How to setup VPN un Linux | OpenVPN Terminal configuration How to Create VPN connection on Linux using OpenVPN | Network Connections Make VPN connection on Linux OpenVPN | Network Connections screenshot

Your dialogue box will appear: Navigate to the extracted folder from step 4 and select one file (with extension “.ovpn“) from the list. Click Open.

Setting up a VPN on Linux OpenVPN | Network Connections

Step 7:

Under username type your VPN username, and under password the VPN Password and click Save. (Rest all the information will be automatically imported)

Configure OpenVPN in Linux Network Connections OpenVPN

Step 8:

Click on Network Connections on the top right corner to bring up the connection menu. Expand VPN Connections and select the configured VPN.

setting up VPN on Linux OpenVPN Network Connections

You are now connected to VPN.

How to setup OpenVPN VPN on Linux Network Connections