VPN for Streaming
Sections

Explained

Can you host any game server through a VPN with port forwarding?

No, not just any: you can host a game server through a VPN with port forwarding if the game's port and TCP/UDP requirements match the VPN's capabilities, the application listens on the required port, and the firewall allows the traffic through. These conditions are described in the Cloudzat guide.

5 minutesRevised On VPN for Streaming

How does an incoming connection reach the game?

Port forwarding makes it possible to accept an incoming connection if the whole path to the game application is set up correctly. The VPN server's open port receives traffic from the internet and passes it through the encrypted tunnel to your device. There, the running game server accepts the connection.

Players need the external port number — the one on the VPN side. The internal port belongs to the application on your device. These numbers do not have to match: the Cloudzat guide shows how a rule links different external and internal ports.

Besides the port number, the transport method matters: TCP or UDP. If the game needs UDP, a TCP rule will not replace it.

SituationOptionPort forwarding condition
You are choosing the VPN server locationPIAPort forwarding is not available on US servers
You need a subscription with the feature includedCitadelVPNCitadelVPN includes port forwarding in the subscription
You need to set rules and a target deviceNordVPN Dedicated ServerCustom rules and the choice of target device
You are choosing a server for incoming connectionsProton VPNConnect to a P2P server

Which VPN limitations should you check?

Before launching, check the limitations of the product and application you have chosen, as well as the port assignment rules. Even if port forwarding is included in the subscription, it does not mean you will be able to choose any external port number.

According to NAT Checker, PIA assigns a random port and does not let you choose external port 25565. PIA is therefore unsuitable if you need exactly this external port. However, this limitation by itself does not stop you from hosting a Minecraft server on a different port.

The assigned number can change. NAT Checker gives an example in which PIA changes the port from 42109 to 59812. PIA issues a new random number after a connection drop, a VPN reconnection, or a container restart. After that, check the current number against the game server settings and the address that players receive.

According to NordVPN support, port forwarding is available only with the Dedicated Server add-on. Standard NordVPN servers and the Dedicated IP add-on do not support this feature.

Dedicated Server has limitations on port choice: according to the Cloudzat guide, the panel rejects reserved external ports. The version of NordVPN from the macOS App Store also does not support port forwarding. The application's limitations get in the way of creating the local firewall rules you need.

According to the Proton VPN documentation, Proton VPN assigns a random port. Proton VPN’s port forwarding is incompatible with NAT type 2, that is, moderate NAT. So during setup, take into account both the number you are issued and the NAT mode you choose.

How do you check the server is working and troubleshoot problems?

Check port availability while the game server is running. The Proton VPN documentation explains: the check will detect an open port only if the application is actively listening on it.

Start with the game's requirements. Cloudzat recommends opening only the ports you need: one TCP port if that is enough, or the required list or range of UDP ports.

  1. Find the port and TCP/UDP requirements in the game developer's documentation.
  2. Check the internal port in the game server settings.
  3. In the VPN port forwarding rule, match the external port, the transport and the target device with the application's settings.
  4. Allow the required incoming traffic in the local firewall.
  5. Start the game server.
  6. Check port availability with a dedicated tool while the application is running.
  7. Check the connection with a game client.

If the port appears closed, first make sure the application is listening on it. Then check the firewall and whether the port forwarding rule matches the application's settings.

An open port makes the service running behind it reachable from outside. For this reason, VPN.now recommends updating that service and closing the port after use.

Why is an open port not the same as Open NAT?

The availability of a single port does not guarantee Open NAT in every game. The ability to connect to a game server needs to be checked separately from the NAT label on the console. NAT means network address translation.

According to NAT Checker, an existing UDP mapping allows other external senders to reach it without prior contact. This makes direct connections between participants easier but does not open the remaining ports.

The NAT Checker test has limits: it does not check every application port and does not confirm the presence of CGNAT or Double NAT. CGNAT means address translation at the provider, while Double NAT means successive levels of such translation. The test result also does not guarantee a particular NAT label on the console or a successful connection with every player. So for hosting a server, check the port you need and the connection with a game client.

How do you prepare the server for players to connect?

Before players connect, make sure the VPN's capabilities suit the game and the server is ready to receive traffic. Some checks are needed in advance; others should be repeated after the connection changes:

WhenWhat to do
Before choosing a VPNMatch the TCP/UDP ports the game needs with the port forwarding capabilities
Before checking the connectionStart the server and allow its traffic in the local firewall
After a PIA reconnectionCheck the newly assigned port against the settings and the address for players
After the server has finished runningClose the port that is no longer in use

A VPN with port forwarding suits a game server when the application's requirements, the VPN's capabilities and the local settings are aligned. The feature itself does not provide universal compatibility. CitadelVPN works if you need a subscription with port forwarding already included for incoming connections.

See also

  1. iPad VPN privacy vs streaming speed: which matters more?
  2. How do I watch ITVX abroad with a VPN?
  3. Are VPNs still working with Shahid this year?
  4. How do I fix a location error on BBC iPlayer while abroad?
  5. How do I set up a VPN for console gaming on PlayStation or Xbox?

References