Skip to main content

Tutorial: Upgrade the OpenVPN DCO module

Abstract

Upgrade the OpenVPN DCO module on Access Server. Learn when upgrades are automatic, how to update manually, and how to reload DCO without rebooting.

Overview

This tutorial shows you how to upgrade the OpenVPN Data Channel Offload (DCO) module installed on your Access Server.

Prerequisites

  • Access Server with OpenVPN DCO enabled.

  • Root access to the server console.

Step 1: Run these commands to upgrade the DCO module

  1. Connect to your console and get root privileges.

  2. Run your OS update/upgrade commands (Ubuntu shown):

    apt update
    apt upgrade
    • The OpenVPN DCO module should be updated.

  3. Reboot your OS:

    reboot

Note

If you're running RHEL 9.8 with an older Access Server installation, upgrade the ovpn-dco package to v0.2.20260526 or newer. The previous package version fails to build on RHEL 9.8 due to a kernel compatibility issue. RHEL 8 and 10 users aren't affected.

Run the following command to update:

yum update ovpn-dco-dkms

After updating, reboot your server or follow Optional Step 1 to reload the module without rebooting.

Optional step 1: Upgrade DCO without rebooting your server

Note

This step is optional for those who don't want to reboot the server (or can't).

Run these commands to stop the Access Server, remove the previous OpenVPN DCO module, load the new module, and restart the Access Server service:

systemctl stop openvpnas
modprobe -r ovpn_dco_v2
modprobe ovpn_dco_v2
systemctl start openvpnas