How to connect to a OpenVPN Server with ovpn file from KDE Kubuntu

Ashok Raja T
Technology Specialist
December 27, 2021
Rate this article
Views    21306

In one of my previous articles, I have explained how to create an OpenVPN server with Docker. In this article, let us see how to connect to an OpenVPN server with an ovpn file from Kubuntu Linux Environment.

Installation OpenVPN Network Manager

Assuming that you have the ovpn file in hand, let us start by installing the OpenVPN network manager by executing the command “sudo apt install network-manager-openvpn” in the terminal.

If you have not installed OpenVPN yet, download OpenVPN here or install it as a Docker container by following the steps in this link.

Configuring OpenVPN Client With ovpn

In Kubuntu ( these steps applies to all KDE variants), open the System Settings and then select “Connections” under “Network” settings.
Add_VPN

Click the “+” button and select “Import VPN connection” option located at the bottom of the menu. Select the “ovpn” file that you have downloaded from the OpenVPN server.

select_ovpn

Confirm the certificate location and also the “Connection Name”.

configure_ovpn

Now you can connect to your VPN server by clicking the network icon at the bottom Taskbar and selecting the VPN connection that you have created.

connect_ovpn

If all goes well, you would be able to connect to your VPN server from your KDE Linux environment.

ovpn_connected

Note: If you skip or install a different network manager, you may get an error stating “Missing VPN plugin”. In that case, you may have to install “network-manager-openvpn” again.

missing_vpn

Subscribe To Our Newsletter
Loading

Leave a comment