Skip to content

How Can You Tell Whether a VPN Is Using UDP or TCP?

A VPN tunnel is carried over UDP or TCP, but most apps never say which. This article explains the difference and the safe, generic ways to look for the answer.

10 min readUpdated Nov 3, 2026By XPASS Editorial Team

How Can You Tell Whether a VPN Is Using UDP or TCP?

You may have read that a VPN "runs over UDP" or "falls back to TCP" and wondered how anyone knows. Most VPN apps are built to hide those details. You press connect, a key or shield icon appears, and that is the whole interface. Yet the transport underneath, UDP or TCP, affects how the connection feels on shaky Wi-Fi, in a hotel, or during a video call, so it is reasonable to want to look.

This article explains what UDP and TCP are in plain terms, where an app might show which one it is using, and how to read your computer's own network tools to find out. It also explains why you may not be able to find the answer at all, which is normal. We will not repeat the long technical comparison here: for the trade-offs, see OpenVPN TCP vs UDP and how TCP-over-TCP slows a VPN down.

What UDP and TCP are

Before you can spot them, it helps to know what you are looking for. Every message on the internet travels as small chunks called packets. The transport is the set of rules that decides how those packets are sent between two devices. A VPN has to pick one of two common transports for the connection between your device and the VPN server.

UDP (User Datagram Protocol) sends each packet and moves on. It does not number packets for delivery guarantees and does not resend anything. If a packet is lost, UDP does not notice. That sounds careless, but it keeps delay low, and the traffic inside the tunnel often has its own recovery rules anyway.

TCP (Transmission Control Protocol) builds a reliable, ordered stream. It numbers data, waits for acknowledgements, resends what is lost and slows down when it sees congestion. If one packet goes missing, everything behind it waits until the gap is filled.

A simple picture: UDP is a courier who drops every parcel at your door and leaves. TCP is a courier who collects a signature for every parcel and goes back for any that are missing. UDP is quick and tolerant of gaps. TCP is careful and slower when the road is bad.

Two things are worth keeping separate. First, the transport is not the same as the encryption. The tunnel is encrypted in the same way whichever transport carries it, so neither is "more secure". Second, the transport is not the same as the VPN protocol. Some VPN designs run over UDP only, while others can use either UDP or TCP. If the idea of a protocol is new to you, what a VPN protocol is gives the background.

Why you might want to know

You do not need to look at this just out of curiosity. There are a few practical reasons.

  • A connection that never completes on one network. Some networks filter UDP or allow only a short list of outbound ports. Knowing the transport helps you describe the problem to support.
  • Stalls and bursts. If downloads freeze for seconds and then rush ahead, a stacked TCP arrangement may be one cause among several.
  • Calls and games. Delay and jitter matter more than raw speed here, and the transport influences both. Latency is the time a packet takes, and jitter is how much that time varies.
  • Comparing two apps or two networks. If you want a fair comparison, you need to know whether you are comparing like with like.
  • Troubleshooting with support. A clear note such as "the connection is slow on hotel Wi-Fi but fine on mobile data" is more useful than a guess about transport.

Knowing the transport is a diagnostic aid. It is not something to tune for its own sake.

The easy places to look first

Start with the least technical options, because they are the safest.

The app's status or connection screen

Some VPN apps show details after connecting: the server name, a timer, and occasionally the protocol or transport. Look at the main screen, any "details" or "info" area, and any "about connection" page. Menu names differ between apps and versions, so look for anything that sounds like status, details or connection information rather than hunting for one exact label.

The app's settings

If an app has an advanced or protocol settings page, it may list the transport as an option, with a default selected. Seeing a setting does not always mean you should touch it. Keep the default unless you have a specific reason, and change only one setting at a time.

The connection log

Many VPN apps keep a log of recent events, often under a help, diagnostics or "view log" area. Logs written by VPN software commonly mention the transport and port on a line near the start of a connection, for example a line that names the remote address, a port number and either "UDP" or "TCP". If your app has a log and offers to export or copy it, that is usually the clearest source. Read it yourself, and do not paste a log into a public forum without checking it first, because it can contain your IP address, server addresses and account names.

Support documentation

If you cannot find anything in the app, the supplier's help pages or support team are the right place to ask. They can tell you what to expect, and they can tell you whether your app exposes any of this at all.

What XPASS users should expect

With an XPASS pass you connect using VPNclient, signing in with the username and password shown on your My Pass page. You should not expect to pick between UDP and TCP, and you do not need to. Follow the setup instructions on My Pass, keep the app's defaults, and use the app the way it is presented to you.

If the app happens to show connection details or a log, you can read them as information, but this article does not claim any particular transport for it. If something is slow or fails to connect, the better route is to note when and where it happens and contact support, or work through why a VPN is slow. A description such as "slow on this Wi-Fi, normal on mobile data" is more useful than any guess about transport.

Using your operating system's network tools

If the app shows nothing, your operating system can list the network connections your device currently has open. Each line normally shows a protocol (TCP or UDP), a local address and port, a remote address and port, and often the name of the program involved. These tools are general-purpose and not specific to any VPN. Menu names and layouts differ between versions, so treat the steps below as a general outline.

Windows. Resource Monitor has a Network tab that lists processes and their connections. In a Command Prompt, the netstat -ano command lists connections with a protocol column and a process ID, which you can match to a program in Task Manager.

macOS. Activity Monitor shows network activity by process. In Terminal, netstat -an lists connections, and lsof -i lists open network files with the program that owns them.

Linux. The ss -tunp command lists TCP and UDP sockets together with the processes using them. (netstat can do similar work on systems that still include it.)

iPhone, iPad and Android. The operating systems do not give ordinary users a simple built-in list of connections. Some third-party network diagnostic apps exist, but think carefully before installing one, because a network tool can see a lot about your traffic. Reading the VPN app's own log, if it has one, is usually safer.

How to read the result

  1. Connect the VPN and let it settle for a few seconds.
  2. Find the VPN program by name in the tool, or by its process ID.
  3. Look at the protocol column for its connections. A UDP row means the tunnel's packets are travelling over UDP. A TCP row, normally shown as "ESTABLISHED", means a TCP connection.
  4. Check the remote address. The tunnel connection goes to the VPN server's address, not to the websites you visit. Other lines for the same program may be separate checks or control traffic.
  5. Note the port. It is a clue to confirm what you saw, not a proof by itself.

A VPN app may also hold more than one connection, and a single connection may be listed in both the tool's TCP and UDP sections for different reasons, such as a login request over TCP followed by a tunnel over UDP. Look for the connection that stays open and carries steady traffic while you browse.

Reading ports as a hint

Ports are numbered doors that services use. Some numbers are well known: a secure website normally uses TCP port 443, and the WireGuard project's example configuration commonly uses UDP port 51820. OpenVPN's officially assigned default is 1194, usually with UDP, and it can also be configured for TCP 443 so that it passes through networks that only allow web-style traffic.

Do not treat this as a rule. Any provider can use any port with either transport, and a port that is common for one thing today can be used for something else tomorrow. If the protocol column and the port disagree with what you expected, trust the protocol column.

Comparison: ways to find out

Method Effort What it can show Main limit
App status or details screen Very low Sometimes the transport Often not shown
App settings Low A transport option, if offered A setting is not proof of current use
App connection log Low to medium Transport and port on connection Not all apps keep a log
OS network tools Medium Protocol column per connection Needs care to identify the right line
Packet capture tools High Detailed packet data Powerful, easy to misread, privacy-sensitive
Asking support Low What to expect from the app Depends on what the supplier documents

Packet capture tools such as Wireshark can show a great deal. They are mostly for people who already understand networks, and a capture can contain sensitive information. For simply answering "UDP or TCP?", the first five rows of the table are almost always enough.

A worked example

Lena is on a hotel network. Her VPN app connects at home but stays on "connecting" at the hotel. She wants to describe the problem properly.

She first opens the app and looks for a details screen. It shows the server name and a timer, but not the transport. She then looks for a log and finds one. A line near the start of her failed attempt names the remote address and port and contains the word "UDP", followed by repeated timeouts. A line from her successful attempt at home looks the same, so the app seems to be using UDP in both places, and the difference is the network.

That points to a network that may be dropping this kind of traffic, which is a common hotel behaviour. Lena does not guess further. She checks whether her phone's mobile data works with the VPN (it does) and sends support a short note: connects on mobile data and at home, fails on hotel Wi-Fi with timeouts in the log. Her note describes the situation, and she did not need to change any setting to produce it.

Notice what Lena did not do. She did not install an unknown tool, edit configuration files or try to defeat the hotel's rules. She gathered facts and used the support route.

Limits and what to watch for

  • No answer is a normal outcome. Many apps never show the transport. That is not a sign of anything wrong.
  • Logs can contain private data. Redact addresses and account names before sharing, or share only with the supplier's support.
  • The tools show a snapshot. If the app reconnects or switches network, the transport may change, so look again after a change.
  • A fallback is possible. Some apps try one transport and quietly use another if the first fails. What you see now may not be what you saw an hour ago.
  • Do not use these tools on a device or network you do not control. On a work or school computer, ask the administrator before running diagnostic commands. This article is about understanding your own connection, not about probing other networks or bypassing anyone's rules.
  • The transport rarely explains everything. Slowness may come from Wi-Fi signal, a distant server, a busy network or the device itself. Check how to test a VPN, including leaks and speed, before blaming UDP or TCP.
  • A VPN is not guaranteed to work on every network. Some networks restrict VPN traffic or particular ports, and knowing the transport does not change that.

Summary

UDP sends packets without waiting for confirmation, while TCP builds a reliable, ordered stream that resends what is lost. A VPN uses one of them to carry its encrypted tunnel, and neither makes the encryption stronger or weaker. To find out which one yours uses, start with the safest sources: the app's status or details screen, its settings, and its connection log, if it has one. If those show nothing, your operating system's network tools list connections with a protocol column, and a port number can help as a clue. Many apps simply do not expose the transport, and for XPASS users it is not something to choose or expect to pick, so a short description of the symptom is more useful to support than a guess.

If you would like to try a VPN on the networks you use, the pricing page shows the available passes, and the help center has setup and troubleshooting guides.

Frequently asked questions

Can I always see whether my VPN uses UDP or TCP?

No. Some apps show the transport in a status screen, a settings page or a connection log, but many show nothing at all. If your app does not display it, the operating system's network tools can sometimes reveal it, though reading them takes some care.

Does the port number tell me the transport?

Only as a hint. Some ports are commonly paired with UDP and others with TCP, but a provider can use any port with either transport. Treat the port as a clue and confirm with the protocol column in a network tool or with the app's own log.

Is a VPN over TCP more secure than one over UDP?

No. The transport decides how the already-encrypted packets travel, not how strong the encryption is. Speed, delay and behaviour on poor networks can differ, but security is not the reason to prefer either one.

Do XPASS users need to choose between UDP and TCP?

No. You should not expect to pick a transport, and you do not need to. Connect with VPNclient as shown on your My Pass page, and if the connection is slow or unstable, contact support with a description of what you see.

Should I change my VPN transport when it feels slow?

Only if your app clearly offers such a setting and you have a specific problem. Slowness often comes from Wi-Fi, a distant server or a busy network. Change one thing at a time and keep the app's default if you are unsure.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a VPN for a short trip or a busy month?

XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.

See passes

Keep reading

VPN Security

OpenVPN TCP vs UDP: Which Is Better?

OpenVPN can carry its tunnel over UDP or TCP. This article explains what changes on a bad connection, why the default is UDP, when TCP is the practical choice, and how to test both.

9 min read

Troubleshooting

TCP-over-TCP in VPNs: Performance Problems Explained

When a VPN tunnel itself uses TCP, two layers try to repair the same lost packet. This article explains the mechanics, the symptoms and the practical ways to avoid it.

10 min read

VPN Basics

What Is a VPN Protocol?

A VPN protocol sets the rules for how your device and a VPN server connect and protect traffic. Here is what that means in plain language, with the main trade-offs.

9 min read