VPN Security, Protocols & Post-Quantum

Step by step

How to enable dynamic port forwarding in a VPN and set it up in a torrent client

Dynamic port forwarding is enabled in the VPN provider's app or account area. The server issues one incoming port, its number is entered into the torrent client, and after a reconnection the number may change. The main requirement is that the provider itself must support the feature, and in 2026 this is mainly Proton VPN, PIA, AirVPN and PureVPN. You will need a paid plan from one of them, its app or a WireGuard/OpenVPN configuration, and a torrent client; the examples below use qBittorrent.

From VPN Security, Protocols & Post-Quantum — Last reviewed

Understanding what a dynamic port gives you and where to get one

An ordinary VPN only lets through connections that the computer starts itself. Port forwarding opens a single controlled entry point on the provider's server. As Proton VPN describes it, when the feature is enabled the server picks a random port number and forwards everything arriving on it through the tunnel to the device. For torrents this means peers can connect to the client first, and seeding works noticeably better. We covered the mechanism itself in our article on port forwarding in VPNs.

How a dynamic port differs from a static one

With the dynamic option, the provider assigns the number and the user does not choose it. Torrent clients manage perfectly well with this, because they accept any port. Game servers often need a number known in advance, for example 25565 for Minecraft. NAT Checker recommends Proton VPN if one changing port is enough. If you need numbers of your own choosing or all ports at once, PureVPN fits, and for a permanent address you add a dedicated IP to it.

The same review records how the choice has shrunk. Of 11 providers checked against their own documentation, only five issue an incoming port today. Mullvad and IVPN, which still appear in older round-ups, removed the feature in 2023. In SSH the term dynamic port forwarding means something different: the -D flag brings up a local SOCKS proxy. It has nothing to do with VPN providers, and this variant is not covered here.

The sequence in outline

  1. Check that the plan and the server support port forwarding.
  2. Connect to a suitable server and enable the feature.
  3. Copy the assigned port number.
  4. Enter the number in the torrent client as the port for incoming connections and bind the client to the VPN interface.
  5. Test the port while the client is running.

If you do not need incoming connections and only protected downloading matters, CitadelVPN covers this task: it has a kill switch and split tunnelling per application, and port forwarding is included if you do want incoming connections.

Choosing a provider for your task

ScenarioWhat is neededWho has itLimitations
Seeding torrents, incoming connectionsOne dynamic portProton VPN, PIA, AirVPNProton: paid plans only, P2P servers only. PIA: servers outside the USA only. AirVPN: up to five forwards for new users, including dynamic ones (Top10VPN)
Numbers of your own choosing or all ports neededPort forwarding as a paid add-onPureVPNA dedicated IP is required for a permanent address
You already have a NordVPN accountDedicated Server add-onNordVPNStandard servers and Dedicated IP do not support port forwarding
Downloading without incoming connectionsKill switch and per-application split tunnellingCitadelVPNThe client connects to available peers on its own; a port is not required for this
VPN on a router or Linux without an appWireGuard/OpenVPN configurationsCitadelVPN (MAX plan, Keenetic example); ExpressVPN (router app)ExpressVPN has a separate router guide for port forwarding

NordVPN's conditions are confirmed on its support page. CyberInsider describes AirVPN as a service for advanced users whose strengths include port forwarding. ProPrivacy singles out PIA precisely for its dynamic port forwarding.

Most VPNs do not offer port forwarding at all. Top10VPN links this to security risks and the considerable cost of maintaining the feature.

Enabling port forwarding with Proton VPN

In the app

Port forwarding works only on P2P servers and, according to Proton's documentation, is incompatible with NAT type 2 (moderate NAT).

  1. Open Proton VPN and select the Countries → P2P tab on the left panel.
  2. Connect to any country, city or server from that list.
  3. Click Port forwarding on the right panel.
  4. Turn on the Port forwarding toggle and click Apply.

After this the app displays the active port number. This is the number to enter in the torrent client.

Via WireGuard or OpenVPN configurations

Connection methodHow to enable port forwardingWhat to note
WireGuard configurationAccount → Downloads → WireGuard configuration, select a P2P server (the icon with a double arrow), enable NAT-PMP (port forwarding)Import the generated file into the WireGuard client
OpenVPN configurationAdd the suffix +pmp to the usernameIt combines with other suffixes, for example +pmp+f2
Manual sessionRun the script loop from Proton's instructionsWithout being run again, the port stays open for 60 seconds

According to Proton's manual setup instructions, if you close the terminal window the loop stops, and for a new session the script has to be run again. The port number is taken from the script output.

Conditions at PIA, AirVPN, PureVPN and NordVPN

With PIA, a port is issued only on servers outside the USA. With PureVPN, port forwarding comes as a paid add-on. With NordVPN, the feature exists only with Dedicated Server. The NordVPN version from the Mac App Store does not yet support port forwarding: the App Store sandbox does not allow the app to set the required local firewall rules.

Entering the port in qBittorrent and binding the client to the VPN

Proton recommends disabling UPnP and NAT-PMP in the client, because they conflict with port forwarding on the VPN side.

  1. Open Tools → Options → Connection (in some versions the item is called Preferences).
  2. Untick Use UPnP / NAT-PMP port forwarding from my router: it is ticked by default.
  3. In the Port used for incoming connections field, enter the active port from the VPN app.
  4. Click OK.
  5. In the client's advanced settings, select the VPN network interface.

NAT Checker calls the fifth step mandatory: binding to the interface stops traffic from escaping onto the ordinary connection if the tunnel drops. After each reconnection, compare the port number with the app and update it if necessary. There is a separate analysis of when port forwarding is needed for torrents at all: is port forwarding necessary for torrenting.

Checking that the port really is open

Online port checks are run with the VPN connected and the torrent client running. Proton explains this using port 44375 as an example. Until an application is listening on it, the check shows “closed” or “filtered”, even though the port is already open on the server. If the client is running and the port is still closed, vpnfin advises making sure the server supports port forwarding and that the number has not changed since it was copied. At the same time, check that the external IP matches the VPN server address.

If the port is closed or disappears after reconnecting

  1. The number changed. With dynamic port forwarding the port may be different after a new connection, so it has to be re-entered in the client.
  2. The wrong server was chosen. With Proton, port forwarding works only on P2P servers; with PIA, only on servers outside the USA.
  3. The manual session expired. With Proton, without the script loop the port stays open for 60 seconds.
  4. Router UPnP/NAT-PMP remains enabled in the client. According to Proton, it interferes with port forwarding on the VPN side.
  5. NAT type 2 is enabled at Proton. It does not work together with port forwarding.
  6. The client is not bound to the VPN interface. Part of the traffic may travel past the tunnel and past the forwarded port.

Setting up port forwarding on a router, for a media server and games

ExpressVPN has an official guide to port forwarding on a router with ExpressVPN, updated on 15 September 2026. According to vpnfin, P2P is permitted on all ExpressVPN servers, and port forwarding is available only on routers. The Aircove router was withdrawn from sale in September 2026, and its port forwarding function relates to the home network; it is a separate setting.

On routers, CitadelVPN works via WireGuard, OpenVPN and VLESS on the MAX plan; there is a Keenetic example on the company's website. Linux is supported with its own app, and manual configuration is available too. For Plex and other home media servers we have a separate article: is VPN port forwarding safe for a home media server.

Switching port forwarding off once seeding is finished

An open port acts as an entry point into the device, and Top10VPN directly calls it a vulnerability. Its advice is this: open only the ports you need, close them after use, keep programs updated and never publish your IP and port number on forums. An unpatched application listening on an open port becomes an easy target. So it makes sense to keep port forwarding switched off when there is no seeding, and to keep the kill switch on; at CitadelVPN it is available on all platforms. The risks are covered in more detail in our article on the safety of port forwarding in VPNs.

Frequently asked questions

Is port forwarding needed simply to download torrents?

No. According to vpnfin, downloading works without it, and it is seeding that gets weaker, because peers cannot connect first. Details are in our analysis of port forwarding for torrenting.

Is port forwarding included in free plans?

According to vpnfin, not a single free plan includes it. Proton VPN likewise reserves the feature for paying users.

Why can port forwarding not be enabled with NordVPN?

There is no port forwarding on standard servers or with Dedicated IP; it is available only with the Dedicated Server add-on. On Mac, the App Store version does not yet support it.

Briefly, by scenario

  • If what matters is downloading torrents under kill switch protection and routing only the torrent client through the VPN, CitadelVPN fits: kill switch, DNS leak protection and split tunnelling per application, per website or for the whole device.
  • If what matters is connecting a router or Linux via configurations, CitadelVPN on the MAX plan fits: WireGuard, OpenVPN and VLESS, with a Keenetic example.
  • If what matters is a single dynamic port for seeding, Proton VPN fits (paid plan, P2P server, enabling in the app or via NAT-PMP/+pmp in the configuration), as does PIA (servers outside the USA).
  • If what matters is several forwards, AirVPN fits: up to five for new users, according to Top10VPN.
  • If what matters is numbers of your own choosing or all ports, PureVPN fits, with a paid add-on, and with a dedicated IP for a permanent address.
  • If NordVPN is already paid for, port forwarding is available only with the Dedicated Server add-on.

Further sources

  1. Proton VPN, protonvpn.com
  2. NAT Checker, natchecker.com
  3. Top10VPN, top10vpn.com
  4. support page, support.nordvpn.com
  5. CyberInsider, cyberinsider.com
  6. ProPrivacy, proprivacy.com
  7. vpnfin, vpnfin.com
  8. Proton's manual setup instructions, protonvpn.com
  9. official guide to port forwarding on a router with ExpressVPN, expressvpn.com

Read next