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

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