VPN Setup - Ubuntu 22.x Desktop

This guide will walk you through setting up your VPN link. 
 

Important Notes

Please read the following carefully:
 
  • Notify A-Team Systems immediately if a device which has VPN access is lost or stolen so we can de-authorize it.  If you recover it later we can easily re-enable it.  This is extremely important for security.   This also applies if your device is recalled (i.e. by your I.T. department) or you get a new one and are no longer using the old device.
     
  • Connection configuration and keys can only be used on a single device.  Do not copy the configuration you have been provided to any other device.  If you need to connect another device (i.e. laptop, desktop, etc) simply let A-Team know and we'll set you up with an additional configuration.
     
  • Ubuntu 22.x desktop versions are supported in this guide.
     
  • This guide assumes you are using the GNOME Desktop Environment.
 
Let us know if you have any questions or concerns!
 

Install The GNOME OpenVPN Network Manager Package

Run the following command and install the packages if not installed already:

sudo apt-get install network-manager-openvpn-gnome openvpn-systemd-resolved 

Download VPN Configuration

A-Team Systems will have provided you with a link to download a zip file which contains your VPN configuration and authentication keys.  Save this file into your Downloads folder.
 
Find the downloaded zip file, right click on it and pick "Extract Here" so that it is expanded inside your Downloads folder.  It will create a folder named the same name as the zip file.

Import the VPN Configuration

In the bottom left of your screen (by default) open the app menu

Search for "Network" and and click the "Network - Control how you connect to the Internet" item nested in the settings group:
 
In the Network Settings dialog that comes up, click "Network" to the right, then click "+" by the VPN group:
 
 
In the "Add VPN" dialog click "Import from file ...":
 
 
Browse into your Downloads folder, and then inside the extracted folder you created previously when extracting the VPN configuration zip file.
 
Inside the configuration folder there will be a file with the extension .ovpn, select this file for import by double clicking on it.
 
You'll be presented with an "Add VPN" dialog, go to the "IPv4" tab and check "Use this connection only for resources on its network":
 
 
Click "Add" or "Apply" in the upper right of the dialog.
 
Once back at the main Networking control panel screen you'll see the VPN configuration you just imported, with a toggle on the right of it.  Click it to enable the VPN link:
 
 
NOTE: Your VPN may require a username and password to login.
 
Do not configure NetworkManager to store your VPN password (if you need one).  Saving your password decreases security and likely violates your company's information security policy.

Connecting / Disconnecting

To disconnect or reconnect later you can use the network menu icon in the very top right of the Ubuntu desktop environment.
 
Open the 'VPN Connections' sub-menu and you will see your newly installed VPN link in the list (in our example "A-Team VPN Test".  Clicking on it will connect.
 

Disconnecting

To disconnect, use the same steps as above, and simply click on the VPN from the list again.  Active VPN connections will have a check mark next to them.