Table of Contents
As I have experienced my issue before with Plex, I’ll be referring my solutions to resolve the Double-NAT problem with
Not available outside your network error from Plex Media Server
What is the first thing that comes to your mind when you see a red mark and some big red colored text with no green color to see anywhere? You think “something’s definitely not right here”. It’s natural for us to see the red color as a sign of trouble and danger whilst on the contrary, the green color has a more calm and pleasant vibe in it. Well, that is exactly the case right here with my Plex Remote Access for almost 3 months and I’ve almost given up on it completely until I finally found the mischief behind all the issues and fixed it.
NAT (Network Address Translation) allows sharing a single internet connection with many computers. This will virtually always be used for home internet connections. Routers/modems that allow multiple computers to be connected, either over ethernet or WiFi, will use NAT to do this sharing.
“Double-NAT” is when you have 2 devices on the network, both handling NAT services in two levels. For example, you might have a router plugged in to your ISP directly and then route a cable to another modem to use in your room, now both the router and the modem are providing NAT services. Double-NAT will interfere with the server attempting to create automatic connections. It can also arise when the Public IP Address assigned to you by your ISP is itself behind a NAT service.
- Port forward an application
- Resolve any Double-NAT problems on any network
Tip - Try enabling Universal Plug and Play (UPnP) first before attempting to manually forward your port. This will allow an application to automatically configure a forwarded port on the router. See images below for examples.
PART A • Detecting Double-NAT
Method 1 • Knowing Exactly Which Router
- Check how many modems/routers there are in your network
- If there’s only one → you most likely don’t have a Double-NAT problem (but keep reading if needed)
- If you know the modem/router you’re connecting to is connected directly to your ISP → you most likely don’t have a Double-NAT problem (but keep reading if needed)
- If you know the modem/router you’re connecting to is connected to another modem → read the next part
Method 2 • Manually Tracing your Packet
Another way is to manually count the first 2 hops of your packet using the
You are looking for your local IP addresses, as you can see the first 2 address clearly represent a local IP with a 192.168 leading them
PART B • Fixing Double-NAT
In Double-NAT situations, one of the devices can often be set to Bridge Mode so only one of the devices is providing NAT services. Alternatively, it might be possible to set up a port forward on all NAT devices so that the network requests are correctly sent through.
Note - Try setting the first router you’re connected to in Bridge Mode. This might allow you to skip port forwarding all the way.
- Use the code above to find out your local IP and set it as a static IP to make it easier (you can set a custom IP if you want to)
- Plex uses 32400 as their internal port number, but other applications such as Minecraft uses 25565 so know your application well to port forward them Tip - If you’re manually forwarding ports your best bet is to stay at the high range as this will reduce the possibility of a port collision with other applications. The higher you go the safer you would be in the long run. Around 40000 to 60000 is respectable.
- As you can see in the image below, it is trying to automatically forward the port number 55555 but failed. You’ll want to check the box to
Manually specify public portand input your number. For demonstration purposes, we’ll use 43200 for the following external/public port Important - You must enable this setting or else Plex will continue to try and automatically map the port and fail everytime
- Go to your first router settings which is the first IP when you do a
tracertand forward your port
- Give a name so you can remember why you forward that port
- Type in the port you choose previously in
- Type in the application port in
- Use both
- Put the IP you set static previously
- Go to your second router settings and forward your port
Important - Now this is what most other sites don’t tell you, you need to type in the
External Portyou forwarded before into the
Internal Porthere. Now you can choose any port number for the external port, but I opted for the same. Note - The port that would be opened to the public internet would be the
External Porton the second router, you want this port to be the same as the port you manually specify in your app.
- Go back to Plex and you should see all red turn to green!
Find an issue with this post? Have something to add, update, or clarify? All my posts here are editable.