Member-only story
OpenVPN Client
This article explains how to install OpenVPN clients and use them on Windows, Mac OS and Ubuntu Linux.
Installation
Windows and Mac
The OpenVPN client installation is straight-forward. First, download an installer from the OpenVPN client download page. Then, you can install the client as instructed.
Ubuntu 22.04 (Linux)
We will add a openvpn repo for openvpn3 client. Then, we will use apt utility to install the client.
First, we will start by adding a keyring for the repo.
sudo mkdir -p /etc/apt/keyrings # it already exists, but just in case
curl -sSfL https://packages.openvpn.net/packages-repo.gpg > openvpn.asc
sudo mv openvpn.asc /etc/apt/keyrings/
sudo chown root:root /etc/apt/keyrings/openvpn.asc
Then, add a file (openvpn3.list) in /etc/apt/sources.list.d for the repo. The content of the file is shown below.
$ cat /etc/apt/sources.list.d/openvpn3.list
deb [signed-by=/etc/apt/keyrings/openvpn.asc] https://packages.openvpn.net/openvpn3/debian jammy main
This is for Ubuntu 22.04. For Ubuntu 20.04, use focal instead of jammy. For Ubuntu 24.04, use noble.
Now, we are ready to install the client.
sudo apt update
sudo apt install openvpn3