Connect OpenVPN on Ubuntu 20.04 with Network Manager

Posted
Comments 0

Connect OpenVPN on Ubuntu 20.04 with Network Manager

Today I’ll show you how to set up any version of Ubuntu using OpenVPN using the OpenVPN Network Manager. Ubuntu 20.04 and 22.04 come with OpenVPN Network Manager GUI built-in, so now it’s easy to connect a VPN on Ubuntu (see my other guide to setup using command line). For earlier versions of Ubuntu (18.04 and 16.04) see preliminary step below to install network-manager-openvpn package before starting step 1.

Contents

Preliminary step for Ubuntu 16.04 and 18.04

Skip this step if you’re running Ubuntu 20.04.

You need to install the OpenVPN Network Manager GUI package before we begin this guide, so open up a Terminal window and enter the following code:

sudo apt install network-manager-openvpn -y
Install OpenVPN Network Manager

Connect OpenVPN with Ubuntu Network Manager

  1. Click the Network icon top-right of your screen, then click Settings:
    Click Network, Settings
  2. Click the Plus + icon under the VPN heading, then click OpenVPN:
    Select OpenVPN
  3. Visit your VPN service providers website (I always use BTGuard VPN) and look for the ‘Help’ or ‘Setup’ section, and download the CA Certificate for OpenVPN. Once you have the CA cert, enter the following information in the Add VPN window:
    Enter your VPN details and certificate
    1. Name: Enter a descriptive name for your VPN connection, mine is BTGuard
    2. Gateway: Enter the URL of your VPN providers VPN server. Mine is sg.vpn.btguard.com which is BTGuard’s Singapore server
    3. Authentication Type: Password
    4. User name: MyVPNUserName
    5. Password: MyVPNPassword
    6. CA certificate: (you will need to get this from your VPN provider)
    7. Click the green Add button (top-right)
  4. To start your new VPN connection, toggle to on-off button on the Settings window. Once connected, you should see a small VPN icon top-right.
    Trun your new OpenVPN VPN one

Video: Connect OpenVPN with Ubuntu Network Manager

Conclusion

You should now be connected to your service providers VPN using OpenVPN. If you had any issues, hit me up in the comments or socials/email.

See Also

Further Reading

Author
Categories Ubuntu, VPN

Comments

There are currently no comments on this article.

Comment

Enter your comment below. Fields marked * are required. You must preview your comment before submitting it.