You want to access your Plex media server from anywhere, but your router's firewall is blocking the connection. The solution involves configuring port forwarding, a process that can be tricky and exposes your home network. Using a VPN with dedicated port forwarding support, like Private Internet Access (PIA), provides a more secure and manageable alternative. This guide will walk you through the exact steps to set up PIA port forwarding for Plex on Windows 11, ensuring you can enjoy your media library remotely without compromising security.
What you’ll learn:
- Why PIA's port forwarding is a safer choice for Plex remote access.
- A step-by-step setup guide for Windows 11.
- How to test and troubleshoot your new remote connection.
Why Use a VPN for Plex Port Forwarding?
Ordinarily, you would open a port on your home router to allow Plex remote access. This works, but it also creates a permanent opening in your network's defenses, which can be exploited. By using a VPN that supports port forwarding, you redirect this traffic through an encrypted tunnel to a secure VPN server. The port is opened on the VPN server's end, not your personal router, keeping your home IP address and network hidden from the public internet. This method adds a crucial layer of security while achieving the same goal.
Private Internet Access is one of the few premium VPNs that offers this feature reliably. When you activate port forwarding within the PIA app, it assigns you a specific port number on their server. All your Plex traffic for remote access then flows securely through that dedicated pathway.
Getting Started: Your PIA VPN Setup
Before we dive into the port forwarding configuration, you need to have the PIA application installed and running on your Windows 11 machine.
- Subscribe to Private Internet Access if you haven't already.
- Download and install the PIA Windows app from their official website.
- Log in to the application with your credentials.
- Connect to a VPN server. For the best port forwarding experience, it's often recommended to connect to a server that is geographically close to you for optimal speed.
Once you're connected, you're ready to enable the key feature.
Best VPN This Month
For users prioritizing customizable security and features like port forwarding, Private Internet Access is a top contender this month due to its proven no-logs policy and advanced configuration options.
Enabling Port Forwarding in the PIA App
With the PIA app connected, follow these steps to activate port forwarding:
- Click on the three horizontal lines (the menu icon) in the top-left corner of the PIA app window.
- Select Settings from the menu.
- Navigate to the Network tab within Settings.
- Find the option labeled Port Forwarding and toggle the switch to the “On” position.
The app will now display a port number (e.g., 12345). Write this number down; it is your dedicated port for the current session. This is the port you will use in your Plex server settings. It's important to note that this port number may change if you disconnect and reconnect to the VPN, so you may need to repeat this step and update Plex if your session changes.
Configuring Plex Media Server for Remote Access
Now that you have your active port from PIA, it's time to tell Plex to use it. Keep the PIA app connected while you complete these steps.
- Open your Plex Media Server on your Windows 11 PC. You can usually do this by finding the Plex icon in your system tray (near the clock) and right-clicking it, then selecting “Open Plex”.
- Click on the wrench icon in the top right corner to open Settings.
- From the left-hand menu, select Remote Access under the “Server” section.
- You will likely see a message that remote access is not enabled. Uncheck the box that says “Manually specify public port” if it is checked.
- Now, re-check the “Manually specify public port” box. In the field that appears, enter the port number you received from the PIA app.
- Click the Retry button or Apply. Plex will now attempt to configure itself using the port you provided.
After a moment, you should see a green checkmark and a message confirming that “Fully accessible outside your network” is now active. Your Plex server is now securely reachable via the PIA VPN's port forwarding.
Testing Your Secure Remote Connection
Never assume it works just because a settings page says so. Proper testing is essential.
- On a device that is not connected to your home Wi-Fi (e.g., your smartphone using cellular data), open the Plex app or visit app.plex.tv.
- Log in to your Plex account. You should see your server listed and available.
- Try playing a video or music file. If it plays smoothly, your port forwarding setup via PIA is a success.
If the test fails, double-check that the PIA app is still connected and that you entered the correct port number in the Plex settings. Sometimes, simply toggling the remote access setting in Plex off and on again can resolve the issue.
Troubleshooting Common Hic cups
Even with a clear guide, things can sometimes go wrong. Here are solutions to common problems.
Plex Says “Not Available Outside Your Network”
This is the most common issue. First, confirm your PIA VPN is connected and that port forwarding is enabled in the app's settings. Then, go back to the Plex Remote Access settings page and click “Retry”. If it persists, try disabling and re-enabling the “Manually specify public port” option in Plex, ensuring the port number from PIA is correctly entered.
The Port Number Changed After Reconnecting
PIA may assign a new port number when you establish a new VPN connection. If your remote access stops working, simply re-check the port number in the PIA app and update the “Manually specify public port” field in Plex with the new number.
Windows Firewall is Blocking Plex
Ensure Plex is allowed through the Windows Firewall. Search for “Windows Defender Firewall” in the Start Menu, click “Allow an app or feature through Windows Defender Firewall,” and verify that both “Plex Media Server” and “Plex Media Player” are checked for both Private and Public networks. For more detailed guidance on device configurations, see our devices section.
Secure Your Media and Stream Freely
By leveraging Private Internet Access port forwarding, you've successfully created a secure bridge to your Plex server without poking a hole in your home router. This setup gives you the best of both worlds: convenient, remote access to your personal media collection and the robust privacy that a VPN provides. Your data remains encrypted, and your home network stays protected.
Ready to take control of your remote access? Get started with Private Internet Access today and follow this guide to unlock secure streaming from anywhere.

Join the discussion
Have a question or a fix to add? Share it below.