VPN is short for Virtual Private Networks. These are connections that ensure data privacy and confidentiality between different locations. VPNs are useful for organizations that exchange sensitive information, for example, between headquarter office and its branches in different locations. VPNs ensure encrypted connections over the unsecure (Internet) network. There are different protocols used to create VPN connections such as IPsec, PPTP and OpenVPN.
In this guide, we are going to look at how to install and configure OpenVPN client on Linux Mint 20.
OpenVPN is a free, fast and popular program used to create virtual private networks between endpoints. It works on a server-client basis and uses both TCP and UDP. The OpenVPN server runs on a Linux system while the clients can be any device that supports openVPN, such as windows OS systems, MacOS, network devices such as Mikrotiks and mobile devices. The VPN connections are secured with with OpenVPN protocol using SSL/TLS authentication, certificates and credentials.
Install OpenVPN client on Linux Mint 20
We need network-manager-openvpn to be able to use openVPN client on Linux Mint 20. The package is already included on Linux Mint 20 but if you have to install, run the command below:
sudo apt-get install network-manager-openvpn
Start and enable openVPN service
sudo systemctl start openvn sudo systemctl enable openvpn
Confirm the service is running using the below command.
$ sudo systemctl status openvpn
Output if running:
Configure openVPN client on Linux Mint 20
At this time, you should be having openVPN profile obtained from the OpenVPN server to connect to. The following steps guide on how to configure openvpn client on Linux Mint 20.
Click on the network icon at the bottom right of the linux mint home screen as shown:
Next click on network connections then on the + sign
You will see a window asking you to choose the connection type
Click on the drop down and under VPN, click on ‘Import a saved configuration’
Next click on create and browse through your system to select the OpenVPN profile.
Click on ‘Save’
The OpenVPN connection should now appear as part of the connections.
To connect to it, go back to the network icon, click on it then click on ‘vpn connections’ to connect.
That’s it. You have successfully installed and configured OpenVPN client on Linux Mint 20. If you check on your IP addresses, you should notice a VPN interface, tun0, added and assigned an IP address.
Enjoy using OpenVPN connection on Linux Mint 20. Below are more interesting guides!