Dear all, OpenVPN Inc. and I are happy to announce that we've released ovpn-dco-win, which stands for "OpenVPN Data Channel Offload for Windows". It is a modern Windows driver, which functions as a virtual network adapter and implements required functionality to handle the OpenVPN data channel. When using ovpn-dco-win, the OpenVPN software doesn't send data traffic back and forth between user and kernel space, but operations on payload take place in the Windows kernel. The driver is being developed using modern frameworks - WDF, NetAdapterCx and DMF. Because of that, the code is easy to read and maintain. Speed-wise the new driver performs significantly better compared to tap-windows6, so it should eliminate the main bottleneck which hampers the performance of OpenVPN on Windows.
Source code repository is hosted here: https://github.com/OpenVPN/ovpn-dco-win Performance numbers below are iperf3 test results conducted on AMD ThreadRipper 3970x between Hyper-V Windows and Linux guests. Cipher algorithm used is AES-256-GCM. OpenVPN 2.5 dco-win <-> OpenVPN 2.5 dco-linux: Down 1.74Gbit/s, Up 1.51Gbit/s OpenVPN 2.5 wintun <-> OpenVPN 2.5 dco-linux: Down 1.20Gbit/s, Up 1.20Gbit/s OpenVPN 2.5 tap-windows6 <-> OpenVPN 2.5 dco-linux: Down 500Mbit/s, Up 600Mbit/s Thanks to Arne Schwabe, there is now a beta version of the openvpn-gui client with dco-win support. Installer could be found here: https://swupdate.openvpn.net/beta-downloads/win-dco/openvpn-install-dco-preview-Win10.exe It was built from "dco" branch in Arne's github repo https://github.com/schwabe/openvpn/tree/dco. See https://github.com/schwabe/openvpn/blob/dco/README.dco.md for more info about current and general limitations. To use ovpn-dco-win with openvpn2, add the following lines to the .ovpn profile: windows-driver ovpn-dco-win tun-mtu 1428 OpenVPN3 support is in progress and coming soon. Please note that ovpn-dco-win only works with Windows 10 2004 and newer versions. Looking forward to feedback and patches! _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel