🔒 Closed In case u need to choose with these 2 monters u need to know how they work so here tcp vs udp

Status
Not open for further replies.

Melfox

Honorary Poster
The Difference


TCP vs UDP, OpenVPN vs TCP, UDP vs OpenVPN… What is the difference, exactly?

TCP is, in general, the most commonly used connection protocol on the internet, as it offers error correction (and is therefore known as a ‘stateful protocol’). Whenever a computer sends a You do not have permission to view the full content of this post. Log in or register now. using TCP, it waits for confirmation that the packet has arrived before resending the packet (if no confirmation is received), or sending the next packet (if confirmation is received).

This means there is ‘guaranteed delivery’ of all data, making the protocol very reliable, but there is a considerable overhead as packets are sent, confirmed, re-sent etc., making it quite slow.

UDP is referred to as a ‘stateless protocol’ as it performs no such error correction, simply receiving packets with no acknowledgments or retries. This makes it much faster, but less reliable.

  • TCP = reliable
  • UDP = fast
Which one to use?
Which one you use, therefore, depends on whether reliability or speed is your primary concern, and, in general, UDP is better for streaming media , VoIP, and playing games online.

However, how much TCP actually slows a connection down in practice can be very dependent on other network factors, with distance being the most important. The further away you are from your VPN server geographically, the further TCP packets have to travel to and fro, and therefore the slower your connection will be. If the server is relatively close-by, then you may not see much of a speed loss, while benefiting from a more reliable connection.

That said, probably the best general advice is to use the faster UDP protocol unless you experience connection problems, which is the strategy adopted by most VPN providers by default.

Defeat censorship with OpenVPN on TCP Port 443
When you connect to a secure website your connection is protected by SSL encryption. You can tell that a website is secure because its URL (web address) begins with You do not have permission to view the full content of this post. Log in or register now., and a closed lock icon should appear to the left of your browser’s URL bar. Traditionally it was mainly banks and online shops etc. that used SSL, but with growing public concern about internet security, is increasingly common to see SSL encryption deployed on all kinds of websites.

SSL is the cornerstone of security on the internet, and any attempt to block it effectively breaks the internet (which hasn’t stopped places such as Iran trying!) SSL runs over TCP port 443.

The interesting thing for OpenVPN (which is based on the OpenSSL libraries) is that if configured to run on TCP port 443, OpenVPN traffic looks identical to regular SSL connections. This makes running OpenVPN over TCP port 443 ideal for evading censorship as:

  1. It is very difficult detect that OpenVPN is being used rather than regular SSL
  2. It is almost impossible to block without breaking the internet.
Some custom VPN clients allow you to select TCP port 443, or it can often be configured manually (ask your VPN provider for settings.)
 
Yeah, udp fast but not reliable. Hirap mag connect / hirap gawan ng paraan / walang compatible na rp sa kanyang vpn port T^T

Yung vpnudp site naman nasa tcp protocol parin. Baka may magcorrect nanaman sakin hahaha.
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 652
    Views
  • 4
    Participants
Last reply from:
Melfox

Trending Topics

Online now

Members online
1,024
Guests online
1,067
Total visitors
2,091

Forum statistics

Threads
2,275,799
Posts
28,965,589
Members
1,231,936
Latest member
7afedz
Back
Top