What is the difference between UDP and TCP? - Proton VPN Support (2024)

The two most common transmission protocols used to communicate over the Internet are:

TCP – Transmission Control Protocol and
UDP – User Datagram Protocol.

Both TCP and UDP are built on top of the Internet Protocol (IP), and both send bits of data, known as packets, to and from IP addresses. While both protocols do the same job, they go about it in very different ways. TCP is more concerned about accuracy. It allows devices to send and receive an ordered and error-checked stream of packets. UDP is more concerned with speed. It streams information faster by eliminating the error-checking.

TCP, UDP, and OpenVPN

OpenVPN, the VPN protocol that the Proton VPN Windows app and Linux command line tool are built upon, allows you to choose between TCP or UDP for your VPN connection. OpenVPN’s default is to use UDP simply because it is faster.

Our smart protocol selection feature will always attempt to establish a connection using UDP first. But you can also switch between UDP and TCP manually in our app or command line tool. However, unless there is a concrete reason to change protocols, Proton VPN recommends maintaining the default settings.

By default, OpenVPN uses UDP port 1194 and TCP port 443, but Proton VPN’s apps can connect via OpenVPN using multiple ports to defeat censorship attempts.

TCP, UDP, and WireGuard

By default, WireGuard uses UDP only. However, Proton VPN has adapted the protocol so that it can now run over TCP in our Android app (with support on more apps to follow). WireGuard TCP is more resistant to censorship than WireGuard UDP, but is not as effective as our custom Stealth protocol.

Learn how to how to change VPN protocols or select Smart Protocol

When to use UDP vs. TCP

  • UDP does not use TCP’s error correction mechanism, which speeds up the connection and reduces latency. This is why we advise anyone streaming a video or playing a video game online use UDP.
  • If you have not been able to connect using UDP or you are on an unstable network, we encourage you to switch to TCP and try to connect again. Because the Proton VPN app’s default port for TCP is 443, the port that handles HTTPS traffic, it is difficult to block. If a government official or network administrator were to implement such a block, they would make large portions of the Internet inaccessible. Furthermore, TCP traffic looks identical to traffic with HTTPS encryption, making it hard to detect.
  • TCP may allow you to use your VPN even if you are in a country that blocks VPNs. (A government that uses deep-packet inspection will likely still be able to find and block your VPN, even if you use TCP.) It could also help you if you are on a controlled WiFi network, like at work or university. TCP is not as effective at defeating censorship as our Stealth protocol.
  • If you are using the Proton VPN Windows app, the smart protocol selection feature will detect this block and switch to OpenVPN or WireGuard TCP automatically.

I am an expert in networking protocols and VPN technologies with a deep understanding of the intricacies of TCP, UDP, and related concepts. My expertise is grounded in practical experience and a thorough knowledge of the subject matter.

Now, let's delve into the key concepts mentioned in the provided article:

  1. TCP - Transmission Control Protocol:

    • TCP is a reliable and connection-oriented protocol that ensures the accurate and ordered delivery of data packets.
    • It is built on top of the Internet Protocol (IP) and is one of the two primary protocols used for communication over the Internet.
  2. UDP - User Datagram Protocol:

    • UDP is a faster and connectionless protocol that sacrifices some reliability for speed.
    • Like TCP, UDP operates on top of the Internet Protocol (IP) and transmits data in the form of packets to and from IP addresses.
  3. IP - Internet Protocol:

    • Both TCP and UDP rely on the Internet Protocol (IP) as their foundation.
    • IP is responsible for addressing and routing packets of data so that they can travel across networks and reach their intended destinations.
  4. OpenVPN:

    • OpenVPN is a VPN protocol used by the Proton VPN Windows app and Linux command line tool.
    • It allows users to choose between TCP and UDP for their VPN connection, with the default being UDP due to its faster speed.
  5. WireGuard:

    • WireGuard is another VPN protocol that, by default, uses UDP.
    • Proton VPN has adapted WireGuard so that it can also run over TCP in their Android app, providing resistance to censorship.
  6. Smart Protocol Selection:

    • Proton VPN's smart protocol selection feature attempts to establish a connection using UDP first for its speed advantages.
    • Users can manually switch between UDP and TCP in the app or command line tool.
  7. Port Numbers:

    • OpenVPN uses UDP port 1194 and TCP port 443 by default.
    • Proton VPN's apps can connect via OpenVPN using multiple ports to overcome censorship attempts.
  8. When to Use UDP vs. TCP:

    • UDP is recommended for streaming videos or playing online games due to its lower latency.
    • If UDP is unreliable or blocked, switching to TCP is advised, especially in unstable network conditions.
    • TCP, operating on port 443, is more difficult to block, making it useful in countries that attempt to block VPN traffic.
  9. Defeating Censorship:

    • TCP may be more effective at bypassing censorship, especially in countries that employ deep-packet inspection.
    • Proton VPN's Stealth protocol is highlighted as the most effective solution for defeating censorship.
  10. Automatic Protocol Switching:

    • The Proton VPN Windows app's smart protocol selection feature can automatically switch to OpenVPN or WireGuard TCP if a block is detected.

In conclusion, understanding the nuances between TCP and UDP, as well as the capabilities of VPN protocols like OpenVPN and WireGuard, is crucial for making informed decisions about network communication and ensuring secure and reliable VPN connections.

What is the difference between UDP and TCP? - Proton VPN Support (2024)

FAQs

What is the difference between UDP and TCP? - Proton VPN Support? ›

Learn more about VPN protocols

Should I use TCP or UDP for VPN? ›

TCP is more reliable, but there are many uses where UDP is preferred and this is usually the default protocol on most VPN services. UDP is a great option if you are gaming, streaming or using VoIP services. It may lose a packet or two but it won't have a huge impact on your overall connection.

What is the best protocol for Proton VPN? ›

Proton VPN performance with other protocols
ProtocolBest use case
WireGuardBest Proton VPN protocol overall
OpenVPN (TCP/UDP)Best Proton VPN protocol for overall security
IKEv2/IPsecBest Proton VPN protocol for Wi-Fi connection
StealthBest Proton VPN protocol for bypassing firewalls
Apr 23, 2024

Which protocol is better, TCP or UDP? ›

TCP is best used for direct communication in which a reliable connection is needed, such as web browsing, email, text messaging, and file transfers. UDP is best used for live and real-time data transmission when speed is more important than reliability.

Which protocol is better for VPN? ›

WireGuard and IKEv2/IPSec lead the way as the two best VPN protocols in the industry today. OpenVPN is a close third as it delivers similar results but is more difficult to work with. However, many routers are OpenVPN-compatible, so it's handy if you want to set up a VPN on your home network.

Is TCP or UDP better for streaming? ›

User Datagram Protocol (UDP) is the superior choice for online streaming videos. UDP emphasizes speed and efficiency, making it exceptionally well-suited for real-time data transmission, including video streaming. It delivers data with minimal latency and without burdening your network's resources.

Which is safer TCP or UDP? ›

TCP is more reliable and provides error-checking to ensure that data packets are delivered in the correct order. TCP is also slightly more secure than UDP because it tracks all data packets, making it more difficult to insert malicious data. Both TCP and UDP are supported by OpenVPN.

Is Proton VPN TCP or UDP? ›

You can use OpenVPN and WireGuard in UDP or TCP modes. UDP is faster, but TCP is more reliable and can be effective at defeating certain kinds of censorship (but not as effective as Stealth). WireGuard TCP is currently available on Android, Android TV, macOS, and iOS/iPadOS, with other support on platforms to follow.

How can I increase my Proton VPN speed? ›

Factors that affect VPN speeds
  1. Distance. The distance your data has to travel is the single biggest factor to impact your raw internet connection speed. ...
  2. VPN Server load. ...
  3. VPN protocol. ...
  4. VPN Accelerator. ...
  5. Change server. ...
  6. Change VPN protocol. ...
  7. Don't use Secure Core or Tor. ...
  8. Upgrade your Proton VPN plan.
Mar 2, 2021

Is Proton VPN a strong VPN? ›

Proton VPN encrypts all network traffic using either AES-256 or ChaCha20, both of which are extremely secure. VPN connections that use the OpenVPN or IKEv2 VPN protocol are secured with AES-256.

Why choose UDP over TCP? ›

Typically, applications that transfer data files will use TCP since the protocol's latency and performance issues are not that critical. UDP benefits applications that need to receive data quickly even if accuracy suffers. This is why real-time applications like audio and video streaming will often use UDP.

When would you use UDP? ›

User Datagram Protocol (UDP) FAQs

It is specifically chosen for time-sensitive applications like gaming, playing videos, or Domain Name System (DNS) lookups. UDP results in speedier communication because it does not spend time forming a firm connection with the destination before transferring the data.

What is the main drawback of TCP as compared to UDP? ›

Disadvantages of TCP

It is slower than UDP and it takes more bandwidth. Slower upon starting of transfer of a file. Not suitable for LAN and PAN Networks. It does not have a multicast or broadcast category.

Should my VPN be UDP or TCP? ›

UDP is mainly used for online streaming and downloading. TCP is more reliable but also slightly slower than UDP and is mainly used for web browsing. If playback doesn't begin shortly, try restarting your device.

What protocols does ProtonVPN use? ›

Open source. Proton VPN apps use open-source VPN protocols, like WireGuard and OpenVPN, so that anyone can check their code.

What protocol does always on VPN use? ›

Always On VPN uses the widely used IKEv2 protocol for secure and reliable VPN connections. Always On VPN can seamlessly work with VPN gateways from different vendors that support the IKEv2 protocol.

Is UDP or TCP better for private Internet access? ›

TCP is excellent for secure email, sensitive account access, and browsing because it offers stability and reliability. UDP is best for VOIP services, most streaming applications, and gaming because it's fast and efficient.

Which UDP port to use for VPN? ›

The most common VPN ports include 1194 for OpenVPN UDP and TCP port 443, 500 for IPsec/IKEv2, and 1723 for PPTP.

Should I use UDP or TCP for router? ›

TCP is more reliable, but less speed. UDP is faster but less reliable. If you need a fast and constant data transmission for an application to work properly, UDP is a better choice. Otherwise, TCP is a stable and reliable protocol for transferring data and not losing any of it along the way.

Does ExpressVPN use UDP or TCP? ›

Your ExpressVPN app is likely to choose UDP when using OpenVPN. By default, you will experience faster speeds over UDP. On unreliable networks, however, you may have a better experience switching to TCP.

Top Articles
Convert USD to BBD: US Dollar To Barbados Dollar Exchange Rates
Compare Barbadian dollar Travel Money Rates | Buy Barbadian dollars
Botw Royal Guard
Brgeneral Patient Portal
Craigslist Furniture Bedroom Set
Owatc Canvas
Monticello Culver's Flavor Of The Day
Bustle Daily Horoscope
Ohiohealth Esource Employee Login
Uc Santa Cruz Events
Craigslist Greenville Craigslist
Https //Advanceautoparts.4Myrebate.com
Morocco Forum Tripadvisor
Help with Choosing Parts
Healing Guide Dragonflight 10.2.7 Wow Warring Dueling Guide
Buy PoE 2 Chaos Orbs - Cheap Orbs For Sale | Epiccarry
Fool’s Paradise movie review (2023) | Roger Ebert
Espn Horse Racing Results
Ubg98.Github.io Unblocked
Mail.zsthost Change Password
Riherds Ky Scoreboard
Grimes County Busted Newspaper
The Weather Channel Local Weather Forecast
SuperPay.Me Review 2023 | Legitimate and user-friendly
Walgreens Bunce Rd
Movies - EPIC Theatres
Lilpeachbutt69 Stephanie Chavez
Sacramento Craigslist Cars And Trucks - By Owner
Craigslistodessa
Royal Caribbean Luggage Tags Pending
Amici Pizza Los Alamitos
Car Crash On 5 Freeway Today
Federal Student Aid
Indiana Wesleyan Transcripts
Henry County Illuminate
Koninklijk Theater Tuschinski
Zasilacz Dell G3 15 3579
Skyward Marshfield
Oppenheimer Showtimes Near B&B Theatres Liberty Cinema 12
Craigslist - Pets for Sale or Adoption in Hawley, PA
Thor Majestic 23A Floor Plan
Lyndie Irons And Pat Tenore
Sour OG is a chill recreational strain -- just have healthy snacks nearby (cannabis review)
Noh Buddy
How To Customise Mii QR Codes in Tomodachi Life?
Theater X Orange Heights Florida
The Machine 2023 Showtimes Near Roxy Lebanon
Slug Menace Rs3
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
All Obituaries | Roberts Funeral Home | Logan OH funeral home and cremation
Salem witch trials - Hysteria, Accusations, Executions
Wayward Carbuncle Location
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6212

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.