RE:NODE

Networking11 min read

Does a VPN lower ping in games? When it helps and hurts

Why a VPN usually adds ping in games, the few cases where it lowers it or fixes packet loss, how to test the route yourself, and what TCP-based VPNs do to UDP.

0 readers

Usually not. A VPN adds a stop on the way: your packets go to the VPN server first and then to the game server, so unless the VPN server sits on or near the path you were already taking, the trip gets longer and your ping goes up. There is one real exception. If your ISP routes you to the game server badly - a detour through another country, a congested link at peak time, shaping that slows game traffic - then a route through a well-connected VPN server can be shorter or cleaner than the direct one, and the ping or the packet loss improves. That is a property of your particular ISP and game server on a particular evening, not of VPNs, and you can test it in ten minutes rather than guessing.

There is also a cost that is specific to the kind of VPN. Games run on UDP. A VPN that carries UDP inside UDP, as WireGuard does, is neutral about it. A VPN that hides itself as HTTPS, as Xray with VLESS and Reality does, carries game traffic over TCP, and on a lossy line that turns small drops into visible stalls.

The triangle: why a VPN normally adds ping#

Picture three points: you, the game server, the VPN server. Without a VPN your packets take the path from you to the game server. With one, they take the path from you to the VPN server plus the path from the VPN server to the game server. Two sides of a triangle are almost always longer than the third.

RouteYou to game serverNotes
Direct, good ISP route25 msThe baseline
Via a VPN on the way27 msA couple of ms of extra processing and a small detour
Via a VPN off to one side55 msDistance to the VPN, then back to the game
Via a VPN on another continent150 ms or moreNever helps

Light in fibre covers about 200 km per millisecond, so each 1,000 km of extra path adds roughly 10 ms of round trip. A VPN server 1,500 km off your direct route costs you about 30 ms however good it is. Latency, jitter and packet loss covers where else the milliseconds go.

The marketing claim that a VPN "optimises your connection" is mostly the triangle with the inconvenient side left out.

When a VPN genuinely helps#

The direct route is not always the shortest one. Your ISP chooses how your traffic leaves its network based on its commercial agreements, not your ping. Sometimes that choice is bad.

Poor peering. Your ISP might hand traffic for the game's hosting network to a transit provider that carries it through a distant exchange before it comes back. A traceroute that goes from Warsaw to Frankfurt by way of Amsterdam and London is the classic sign. A VPN server whose own network peers well with both your ISP and the game's host can cut that detour out.

Congestion on one link. If the link your ISP uses towards the game's network fills up every evening, your ping rises and packets drop at peak hours. A route through a VPN uses different links and may avoid that one.

Shaping of game traffic. Some networks deprioritise or throttle UDP, or traffic to particular destinations. Wrapped in a tunnel, the traffic no longer looks like what is being shaped.

Hiding your home address in peer-to-peer games. In games where players connect to each other rather than to a server, other players can see your IP address and, occasionally, flood it. Routing through a VPN means they see the VPN server's address instead. That is a privacy benefit, not a ping benefit, and often costs a little latency. IP leaks and doxxing for server owners covers the same problem from the hosting side.

In all four cases, the improvement comes from the route, not from the VPN's software. Commercial "game accelerators" are built on exactly that: a network of relay servers and software that picks the relay giving the best path to the game's servers.

When a VPN hurts#

The VPN server is not on the way. The triangle again. The most common outcome.

The VPN carries UDP over TCP. Games send UDP because a late packet is useless and a lost one should be skipped. TCP vs UDP for game servers explains why. A VPN that tunnels over TCP - OpenVPN in TCP mode, or proxies such as Xray that relay UDP inside a TCP connection - changes that. When a TCP segment is lost, everything behind it waits for the retransmission. On a clean line you will not notice. On a line with even 1% loss, a game that would have dropped one packet and carried on instead freezes for a fraction of a second and then receives a burst of stale updates. Players describe that as rubber-banding.

Matchmaking by address. Many games pick a region or a matchmaking pool based on where your address appears to be. A VPN in another country can put you in that country's pool, with higher ping to everybody, or in a region where your account is not meant to play.

The rules of the game. Some games' terms forbid using a VPN to change region, to bypass regional pricing or to avoid bans, and anti-cheat systems may flag sudden address changes. Read the terms of the game you play. Separately, VPN use itself is restricted in some countries, so know the law where you are.

Jitter from a busy server. A VPN server shared by many users, or one at its CPU limit, adds variable queueing delay. Jitter hurts games more than a steady extra 10 ms does.

How to test it yourself#

You do not have to trust anyone's claim, including this one. Measure the direct route and the VPN route to the actual game server.

  1. Start a match and find the game server's address. On Windows, open Resource Monitor, Network tab, and look under Network Activity for the game's process and the remote address it talks to. On any system, netstat -n while playing lists the connections.
  2. With the VPN off, run mtr (or WinMTR, or pathping on Windows) to that address for a couple of minutes. Note the final latency, the jitter and any loss at the last hop.
  3. With the VPN on, do the same. The tool now measures through the tunnel.
  4. Compare. Repeat at the time of day you usually play, because peak-hour congestion is often the whole story.
code
mtr --report --report-cycles 120 203.0.113.50

Some game servers do not answer ping. If the last hop shows 100% loss but the game works, measure to the last hop that does answer, or use the game's own network statistics overlay, which reports latency and loss as the game sees them. Reading traceroute and mtr explains how to read the output without being fooled by routers that ignore probes.

What a genuine win looks like: the direct route shows a detour in the traceroute or loss at a mid-path hop at peak time, and the VPN route shows lower latency and no loss at the same time. What it usually looks like: the VPN route is a few to tens of milliseconds slower and otherwise identical.

A worked example of reading the result#

Suppose a player in Vienna sees 70 ms in the evening to a game server hosted in Frankfurt, where the physics floor for about 600 km of path is around 6 ms and a normal route would be 15-20 ms. A direct mtr shows the problem plainly:

code
 Host                         Loss%   Avg 1. home router                0.0%   1.2 2. ISP Vienna                 0.0%   8.4 3. ISP core                   0.0%   9.1 4. transit, Amsterdam         0.0%  31.5 5. transit, London            2.1%  48.7 6. host network, Frankfurt    2.0%  66.9 7. game server                2.0%  69.8

The route goes north-west to Amsterdam and London before coming back to Frankfurt, and loss starts at hop 5 and persists to the end - a congested transit link at peak time. This is the case where a VPN can genuinely help. If a VPN server in Frankfurt is reached from Vienna in 15 ms, and from there the game server is a couple of milliseconds away inside the same city, the tunnelled route could come in near 20 ms without the loss.

Now the same player at noon: the direct route goes Vienna to Frankfurt in 17 ms with no loss. The VPN route measures 20 ms. The VPN wins in the evening and loses at lunchtime, which is why measuring at the time you actually play is the whole method. And if the evening improvement disappears next month because the ISP fixed its routing, the VPN is back to being a detour.

What kind of VPN suits gaming, if any#

If the test shows a VPN genuinely improves your route, the protocol matters.

VPN typeHow game UDP travelsEffect on games
WireGuardUDP inside UDPNeutral; loss is handled as the game expects
OpenVPN over UDPUDP inside UDPNeutral, slightly more overhead
OpenVPN over TCPUDP inside TCPStalls on loss; avoid for games
Xray, VLESS with RealityUDP relayed over a TCP streamFine on clean paths, stalls on lossy ones
Game acceleratorsUsually UDP relaysBuilt for this, with relay choice

The VPN built to get through networks that block VPNs - the one that looks like ordinary HTTPS - is the worst fit for games on a lossy line, because looking like HTTPS means running over TCP. That is a trade-off, not a flaw: if your network blocks everything else, it is the one that connects. If it does not, and gaming is the goal, a UDP-based tunnel or no tunnel will play better. Xray vs WireGuard vs OpenVPN compares the three in more depth.

Split tunnelling: keep the game out of the tunnel#

The common practical answer is to keep the VPN for what needs it and let the game go direct. Most clients can exclude an application or a destination from the tunnel: on Android, v2rayNG and Hiddify have per-app settings; rule-based clients can send a game's addresses direct. Split tunnelling explained covers how. That keeps browsing and messaging behind the VPN on a hotel network, say, while the game takes the shortest path.

The exception is a network that blocks or throttles the game itself - some campus and workplace networks do. Then the tunnel is the only way to play at all, and a few extra milliseconds is the price of playing.

If you host the game server#

The ping question looks different from the other side. Players' latency to a game server is mostly set by where the server is relative to them, and no VPN on their end makes a badly placed server close. Game server ping by region has the figures. A server in Germany, for example, is a short path for most of Europe and a long one for the Americas or East Asia.

Players using VPNs also arrive from the VPN's address. That affects IP-based bans and per-address connection limits, and one player on a crowded commercial VPN can share an address with someone you banned.

What RE:NODE's VPN is and is not for#

RE:NODE's private VPN servers run Xray with VLESS and Reality, in Germany. They are built to keep working on networks that block VPN protocols and to give you an address and key of your own, with no traffic cap and nobody else on the server. They are not a gaming accelerator, and we would not sell them as one: game UDP travels over a TCP connection, and the server is in one location, so a VPN route only helps when that location happens to sit on a better path to your game than your ISP's own route. Test it with the method above; if it does not help, send the game direct and keep the tunnel for everything else. The Windows Renode VPN app connects with the link the server prints, and phones and Macs use any VLESS client.

If what you actually want is a low-ping game for a group in Europe, the better answer is usually a game server close to the players rather than a tunnel in front of a distant one.

FAQ#

Can a VPN reduce packet loss in games?

Sometimes. If the loss happens on a congested link your ISP uses towards the game server, a VPN that routes around that link can remove it. If the loss is on your wifi or your own line, the VPN carries the same loss and, if it is TCP-based, makes it feel worse.

Do gaming VPNs actually work?

Game accelerators work when they find a better route than your ISP's, which depends on where you, they and the game servers are. They cannot beat physics; a relay off to the side of your path adds latency. Trial periods exist for a reason - measure before paying.

Will using a VPN get me banned?

Using one is not usually against the rules on its own, but some games forbid using one to change region, dodge regional pricing or evade bans, and anti-cheat systems may flag address changes. Check the terms of the specific game, and the law where you live.

Why is my ping fine but the game rubber-bands on a VPN?

Probably loss or jitter rather than latency. A VPN that carries UDP over TCP turns occasional packet loss into short freezes followed by bursts of updates. Test with mtr for loss, and try sending the game direct.

Does a VPN change my NAT type for consoles?

It can, but rarely for the better. A typical VPN server does not forward incoming connections to you, so games that need inbound connectivity may see a stricter NAT. Fix NAT on the router with port forwarding or UPnP rather than with a tunnel.


Comments

Completely anonymous: no account, no email, no cookie. We store the name you type, the text and the time - nothing else. Links are limited and markup is not rendered.

0/2000