How to set up OpenVPN connection on Ubuntu 16

How to set up OpenVPN connection on Ubuntu 21

Click on the Ubuntu icon and enter the text terminal. Launch Terminal.

Terminal on Ubuntu

Install GUI package to connect to OpenVPN server with the following command:

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

Enter the password of the Ubuntu account to confirm the installation program.

Installing OpenVPN on Ubuntu

In the Subscriptions download OpenVPN configuration files for Linux. And unpack the Zip file on your Desktop.

Download OpenVPN files for Ubuntu

Click Edit Connections.

Configure OpenVPN on Ubuntu

Click the Add button.

Add OpenVPN configuration on Ubuntu

Select from the list - Import a saved VPN configuration.

Import saved VPN configuration on Ubuntu

Select OpenVPN configuration file.

Select OpenVPN file on Ubuntu

The following information look under Subscriptions.

  1. Username VPN
  2. Password VPN. If you can not enter a password go to step 3.
  3. Click on the icon in the line Password and select Store the password only for this user. After that the Password field is available.

Enter your username and password VPN on Ubuntu

OpenVPN connection is successfully created.

OpenVPN connection is established on Ubuntu

Connect to the OpenVPN server on Ubuntu.

Connect to OpenVPN on Ubuntu

You have successfully connected to OpenVPN server.

Successfully connected to OpenVPN server on Ubuntu

Ask your question