TCP vs UDP: What is the difference for a VPN ?
Thank you
TCP vs UDP
-
- Site Admin
- Posts: 2266
- Joined: Sat Mar 09, 2013 5:37 am
Re: TCP vs UDP
There is no significant difference for VPN users.
TCP is suitable for connecting to an environment where port forwarding can be set on the router on the VPN server side.
If you use UDP, there is a chance that an administrator who does not know the router settings can set up a VPN server, but the connection may be unstable depending on the compatibility with the router.
In UDP, packet loss is ignored in the VPN layer, which also has the effect of preventing delay deterioration in environments where packet loss occurs frequently.
Either way, VPN will not be practical in environments with lots of packet loss.
TCP is suitable for connecting to an environment where port forwarding can be set on the router on the VPN server side.
If you use UDP, there is a chance that an administrator who does not know the router settings can set up a VPN server, but the connection may be unstable depending on the compatibility with the router.
In UDP, packet loss is ignored in the VPN layer, which also has the effect of preventing delay deterioration in environments where packet loss occurs frequently.
Either way, VPN will not be practical in environments with lots of packet loss.