Set up OpenVPN on Ubuntu Using the Network Manager

This tutorial explains how to set up a Linux VPN using the OpenVPN client on Ubuntu. Follow step-by-step to set up and install an Ubuntu 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 apt-get install network-manager-openvpn
  • sudo apt-get install network-manager-openvpn-gnome

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

ubuntu vpn client

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

pptp ubuntu

4: Click "Import from file"

install OpenVPN ubuntu

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

setup OpenVPN server ubuntu

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

OpenVPN client ubuntu

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

ubuntu vpn client

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

VPN on Ubuntu is connected now. Later, you can connect and disconnect the VPN on Ubuntu Linux from 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 Ubuntu VPN using the OpenVPN client on Ubuntu. Besides, if you're looking for additional support or have any questions related to install OpenVPN on Ubuntu, 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