Skip to content
Contents
GuidesOpenWrt

OpenVPN DCO causes packet loss and lower throughput on ipq807x

Comparing the impact of OpenVPN DCO requires fixed endpoints, packet size, direction, and transmission rate. A single speed test is insufficient to distinguish between link fluctuations and changes in the data channel.

Applies to · OpenWrt 25.12.6 · ipq807x / x86/64 · OpenVPN 2.7.7

What to check

Fix client, server, packet size, and rate; during maintenance window, compare packet loss and interface errors with DCO enabled and disabled.

Connect over Ethernet and run the following commands in an SSH session on the router.

ip -s link
logread -e openvpn

How to interpret the result

First check the DCO status in the logs for the current session, then compare the RX/TX packet loss increments on the same interface. If both modes show packet loss, investigate the common link first. If only one mode shows differences, verify under the same MTU.

Verify and recover

Compare both traffic directions at the same packet size and load. Record loss and throughput across repeat measurements. Restore the original DCO and MTU settings afterwards.

Related guide · Where to capture packets on OpenWrt when a TCP handshake times out

Explore hardware

Comments