Skip to content

Instantly share code, notes, and snippets.

@pjobson
Last active March 23, 2025 06:33
Show Gist options
  • Save pjobson/0d7ddb81962113816e2680961aad479c to your computer and use it in GitHub Desktop.
Save pjobson/0d7ddb81962113816e2680961aad479c to your computer and use it in GitHub Desktop.
PLEX Double-NAT Setup

PLEX Double-NAT Setup

In the PLEX Troubleshooting Remote Access they have a small section on setting up for Double-NAT, but don’t really get into how to actually do it. In my network I am using a Double-NAT setup with FIOS.

I use the FIOS AC1750 router from which I run an ethernet connection to a Buffalo WZR-HP-AG300H running OpenWRT to which I have my PLEX server and other internet devices connected.

Network Diagram

Here’s a simple diagram of my network.

network diagram

PLEX Configuration

In your PLEX app go to:

  • Settings → Remote Access.
  • Check Manually specify public port
  • Enter 32400
  • Save

Verizon Router Configuration

Port Forwarding

  • login
  • select Firewall
  • click Yes to the "are you sure" message
  • select Port Forwarding

You’ll need to add each of the following ports. The IP should be the IP address of the router which the PLEX server connects to. In this example my Buffalo router has a LAN IP of 192.168.1.151.

  • UDP:
    • 1900
    • 5353
    • 32400
    • 32410
    • 32411
    • 32412
    • 32413
    • 32414
  • TCP:
    • 3005
    • 8324
    • 32400
    • 32469

verizon port forwarding

Universal Plug and Play (UPnP)

  • Select Advanced
  • click Yes to the "are you sure" message
  • Under Network Settings
  • Select Universal Plug and Play
  • Check UPnP Enabled
  • Click apply

verizon upnp

OpenWRT Configuration

I prefer using OpenWRT, due to the high level of configurability.

Firewall

  • Login to the OpenWRT router
  • Select Network → Firewall

openwrt network firewall

Select the Port Forwards tab.

openwrt port forwards tab

You’ll need to add each of the following ports. The IP should be the IP address of your PLEX server. In this example my PLEX server has an internal IP of 10.10.10.100.

  • UDP:
    • 1900
    • 5353
    • 32400
    • 32410
    • 32411
    • 32412
    • 32413
    • 32414
  • TCP:
    • 3005
    • 8324
    • 32400
    • 32469

openwrt port forwards

Universal Plug and Play (UPnP)

We’ll also want to install and enable UPnP.

Install UPnP

Select System → Software.

openwrt system software

  • Enter upnp into Filter
  • click Find Package
  • Then select Available Packages.

openwrt find upnp

Install both miniupnpd and luci-app-upnp.

Enable UPnP

  • Select Services → UPNP

openwrt services upnp

Your general settings should be as such.

openwrt miniupnp

If everything went well you should be able to access PLEX remotely, if not, I have no idea what the problem is.

@ShotgunPR
Copy link

THANK YOU, SIR!

I've had my share of problems due to the UN-documentation Plex provides for this issue. Thank you so much for a through, well explained tutorial. Blessings.

@Muppettdwvil
Copy link

Double thanks. My Three 5g router (Zyxel NR5103E) now setup on DOUBLE NAT with my DD-WRT main router, IP Passthrough was kinda working but the connection crashed constantly.

@pjobson
Copy link
Author

pjobson commented Oct 16, 2024

@LostOnTheLine

I didn't actually read any of your follow up messages. Due to sad attempt at bulling me, I'm not only not going to update this gist, I'm never going to update it. Now starting today and on forever it is your personal fault that this gist is out of date and will never be updated. I frequently do update my documentation, but your aggressive demand just makes me want to not do that.

You're probably getting ready to angry type up some long reply, as I know your ego is probably pretty fragile and there's no way you would ever let anyone get the last word, so any further BS from you will simply be deleted and you will be reported to github for harassment.

Please seek mental help, you very clearly need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment