3 ms·
Most of them can use either, although TCP gets you terrible performance for the reasons mentioned in the article. Modern VPNs will usually attempt UDP first, f
by lxgr 6y ago
Most of them can use either, although TCP gets you terrible performance for the reasons mentioned in the article.
Modern VPNs will usually attempt UDP first, falling back to TCP only if that does not work; unfortunately, OpenVPN doesn't seem to have that option and requires manual configuration in my experience. This means that many sysadmins configure it to use TCP for the higher success rate in most environments.
IPsec is UDP only, as is Wireguard.
- xav0989 6y agoIPsec isn't UDP though. It use UDP for the key exchange, but the actual IPsec traffic uses ESP or AH, which are IP protocols at the same level as TCP, UDP, or ICMP. (ignoring IPSec NAT-T)
- lxgr 6y agoTrue, but NAT-T is almost a given if one of the endpoints is a laptop or mobile device these days. Also, UDP and ESP can almost be used interchangeably for this discussion (flow control, congestion control, segmentation etc. or a lack thereof).