Tutorial: Enable DCO for a Linux Connector
Data Channel Offload (DCO) improves the OpenVPN tunnel's performance by moving data packet processing from the OpenVPN userspace program to the kernel. You can enable DCO for your Linux Connector by following the steps below:
Install the DCO kernel module for Ubuntu.
sudo apt install kmod-ovpn-dcoDisconnect the running OpenVPN tunnel.
sudo openvpn3 session-manage -c ${CONFIGURATION_PROFILE_NAME} --disconnectAdd DCO to the configuration profile.
sudo openvpn3 config-manage --show --config ${CONFIGURATION_PROFILE_NAME} --dco trueStart the tunnel with the DCO option.
sudo openvpn3 session-start -c ${CONFIGURATION_PROFILE_NAME} --dco true