Comparison of performance (data transfer rate) of OpenVPN over UDP and TCP
November 25, 2021
The previous article showed how to use OpenVPN with TCP instead of the default UDP. It is also known that the use of the TCP protocol is not recommended because, due to the “overhead” of the TCP transport protocol, less payload will be transmitted, since part of the channel will be occupied by the transmission of overhead information necessary to control the integrity of transmitted packets. But how exactly will switching from UDP to TCP affect the performance of the OpenVPN server and the speed of receiving and sending data? This article is devoted to the answer to this question.
My internet connection speed without using OpenVPN:
My internet connection speed using OpenVPN over UDP:
My internet connection speed using OpenVPN over TCP:
As you can see, the speed loss when migrating from UDP to TCP is quite significant. The difference in speed between the absence of OpenVPN and OpenVPN over UDP is negligible – in fact, in both cases, the speed is practically limited by the maximum bandwidth of my network.
- How to use OpenVPN with TCP protocol
- How to set up OpenVPN server and clients
- OpenVPN advanced usage examples
- How to change configuration files when migrating from OpenVPN 2.4.* to OpenVPN 2.5.* (96%)
- How to use OpenVPN with TCP protocol (96%)
- Simultaneous use of multiple OpenVPNs on one server (96%)
- How to manage VPN Settings in Cinnamon (71.7%)
- How to manage VPN Settings in Xfce (71.7%)
- How to clean up Windows 11 without additional programs (RANDOM - 4.1%)