Setting up VPN in Linux – OpenVPN Setup Instructions for Ubuntu:

Open Terminal, Applications-> Terminal

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)

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.


Now download LimeVPN OpenVPN Settings here and extract it.

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

Click on Add and select Import a saved VPN configuration…

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

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

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

You are now connected to VPN.

Did this answer your question?