Is TCP over UDP VPN reliable?
Asked Answered
A

1

6

Does TCP in applications will be reliable if I will use it over UDP VPN? For example, I have VPN server with some application listen TCP on 10.8.0.1:8080 and I will connect from TCP from host 10.8.0.2 to 10.8.0.1:8080. Will it be reliable?

|----------|   udp tunnel         |----------|
|  Server  |----------------------|  Client  |
| 10.8.0.1==========tcp=============10.8.0.2 |
|          |----------------------|          |
|----------|                      |----------|
Aestheticism answered 21/5, 2016 at 23:56 Comment(2)
It has the same reliability properties over any network layer.Silversmith
@sebenalern You need to research 'UDP VPN tunnel'.Silversmith
R
9

TCP is a protocol on top of IP. IP by itself is unreliable, so all the reliability is done at the TCP protocol level. If you use a UDP based VPN it usually encapsulates the IP into UDP, i.e. an unreliable protocol (IP) into another unreliable protocol (UDP). But since the reliability is implemented at the TCP level this does not matter, i.e. TCP over IP over UDP VPN is still a reliable protocol.

Rutger answered 22/5, 2016 at 4:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.