Set up OpenVPN on CentOS Linux Using the Network Manager

This tutorial explains how to set up a Linux VPN using the OpenVPN client on CentOS. Follow step-by-step to set up and install a CentOS VPN client using the OpenVPN protocol through the network manager service.

  • We used the FastestVPN for this tutorial. While you can use any VPN service which offers the OpenVPN protocol.

1: Open the terminal and enter the following commands one by one to download the OpenVPN network manager plugin.

  • sudo yum -y install epel-release
  • sudo yum -y install NetworkManager-openvpn NetworkManager-openvpn-gnome

2: Download the OpenVPN configuration files (ovpn files) which will be provided by your VPN service provider. Unzip those files if required.

CentOS openvpn client

3: Open your network settings and then click "+" sign next to the VPN.

OpenVPN Centos

4: Click "Import from file"

centos vpn server

5: Now navigate to the folder where you saved the configuration (ovpn files) in Step 2. Select your desired server file and click "Open"

centos 8 install openvpn

6: Enter the username and password provided by your VPN service provider and click "Add"

install openvpn client centos 7

7: Now toggle the switch next to the Linux CentOS VPN profile you just created

vpn for centos

8: Wait for the VPN on CentOS Linux to get connected.

VPN on CentOS is connected now. Later, you can connect and disconnect the VPN on CentOS Linux form the network menu.

More Free VPN Tutorials

To find more about OpenVPN and its setup on different Linux variants, click here. By following the steps given above, you can easily set up a Linux CentOS OpenVPN client. Besides, if you're looking for additional support or have any questions related to installing OpenVPN on CentOS, you may Contact us for your questions, queries, feedback, or suggestions.

Add a comment


Please enter your comment!
Please enter your name here

Related posts