How to set up OpenVPN connection on Ubuntu 21

How to set up OpenVPN connection on Ubuntu 16

In the section Subscriptions download OpenVPN configuration files for Linux and unzip it on the Desktop.

Download OpenVPN files for Ubuntu

Open Network settings.

Settings of the OpenVPN on Ubuntu 21

Set up a new VPN connection.

Add OpenVPN configuration on Ubuntu 21

Select - Import from file. If there is no OpenVPN item in the list, then OpenVPN packages are not installed, and you need to use this instructions for setting up OpenVPN on Ubuntu.

Import configuration OpenVPN file on Ubuntu 21

Select the OpenVPN config file to import.

Select OpenVPN file on Ubuntu 21

In the section Subscriptions, see the following information.

  1. Username VPN
  2. Choose - Store the password only for this user
  3. Password VPN

Type Username and password VPN on Ubuntu 21

Connect to OpenVPN server.

OpenVPN connection created on Ubuntu 21

You can also connect to the OpenVPN server from the top menu on Ubuntu.

Successful connection to OpenVPN on Ubuntu 21

Disconnect from OpenVPN network if necessary.

Disconnect from the OpenVPN server on Ubuntu 21

Ask your question