Overview
If you need to install an earlier version of OpenVPN3 Linux (Connector), follow the steps in this article to downgrade the installed packages.
Tip
The examples in this article show how to downgrade from OpenVPN3 Linux v27 to v26 on Ubuntu 24.04 LTS and RHEL 9. Replace the version numbers and package names with those for the version and Linux distribution you want to install.
Step 1: List available package versions
Run the appropriate command for your Linux distribution to view the OpenVPN3 package versions available in the repository.
Ubuntu / Debian
-
List the available package versions:
sudo apt update && apt list -a openvpn3 openvpn3-client
-
Example output:
openvpn3-client/unknown,now 27-1+6.1 amd64 [installed,automatic] openvpn3-client/unknown 26-3+noble amd64 openvpn3/unknown,now 27-1+6.1 all [installed] openvpn3/unknown 26-3+noble all openvpn3/unknown 25-3+noble all openvpn3/unknown 24.1-2+noble all openvpn3/unknown 24-1+noble all openvpn3/unknown 23-1+noble all openvpn3/unknown 22~dev-1+noble all
-
-
To install version 26, note the package versions shown in the output. You'll use them in the next step.
openvpn3=26=3+noble openvpn3-client=26-3+noble
RHEL
-
List the available package versions:
sudo dnf list --showduplicates openvpn3 openvpn3-client
-
Example output:
Installed Packages openvpn3.x86_64 27-1.el9 @openvpn-openvpn3-epel openvpn3-client.x86_64 27-1.el9 @openvpn-openvpn3-epel Available Packages openvpn3.src 21-2.el9 openvpn-openvpn3-epel openvpn3.x86_64 21-2.el9 openvpn-openvpn3-epel openvpn3.src 21-3.el9 openvpn-openvpn3-epel openvpn3.x86_64 21-3.el9 openvpn-openvpn3-epel openvpn3.src 23-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 23-1.el9 openvpn-openvpn3-epel openvpn3.src 24-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 24-1.el9 openvpn-openvpn3-epel openvpn3.src 24.1-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 24.1-1.el9 openvpn-openvpn3-epel openvpn3.src 25-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 25-1.el9 openvpn-openvpn3-epel openvpn3.src 26-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 26-1.el9 openvpn-openvpn3-epel openvpn3.src 27-1.el9 openvpn-openvpn3-epel openvpn3.x86_64 27-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 21-2.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 21-3.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 23-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 24-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 24.1-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 25-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 26-1.el9 openvpn-openvpn3-epel openvpn3-client.x86_64 27-1.el9 openvpn-openvpn3-epel
-
-
To install version 26, note the package versions shown in the output. You'll use them in the next step.
openvpn3-client-26-1.el9
Step 2: Install the selected version
Install the desired version (for example, version 26).
Ubuntu / Debian
-
Install the selected version:
sudo apt install --allow-downgrades openvpn3=26-3+noble openvpn3-client=26-3+noble
-
Remove any unused packages:
sudo apt autoremove -y
RHEL
-
Downgrade the package:
sudo dnf downgrade openvpn3-client-26-1.el9
-
Remove any unused packages:
sudo dnf autoremove -y
Step 3: Verify the installed version
Verify that the expected version is installed using one of the following commands.
Ubuntu / Debian
sudo openvpn3 version
Alternatively:
sudo dpkg -l|grep openvpn3
RHEL
sudo openvpn3 version
Alternatively:
sudo rpm -qa|grep openvpn3-client
Note
Both commands should return the same version and build number.
Step 4: Prevent automatic upgrades
Pin or lock the package to prevent it from being automatically upgraded.
Ubuntu / Debian
sudo apt-mark hold openvpn3
RHEL
sudo dnf versionlock openvpn3-client
Note
The
dnf versionlockcommand requires the Versionlock plugin. If it isn't already installed, insall it with:sudo dnf install 'dnf-command(versionlock)'
Additional Information
Tip
If the OpenVPN software repository isn't installed on your system, following the instructions at:
If you have additional questions, please submit a support ticket.
Comments
0 comments
Please sign in to leave a comment.