Plex Remote Access not working with OpenWRT

I just upgraded my router to OpenWRT and now I am not able to get remote access working. Every time I enable remote access it tells me that it is not available outside your network. Sometimes I can disable and enable remote access and for a second it will show that remote access is working and then quickly change back to not available.

I am running the 1.7.5.4035 on Ubuntu server 17.04 with a static IP address. I am using the default port, 32400, and I got a port forwarding rule setup. From another internet connection I can go to http://:32400 and I can pull up my plex just fine and using OpenPortCheckTool I can see that port 32400 is opened. I even tried a different port without any luck. I do not have UPNP enabled and I would like to try and avoid it at all possible.

config redirect
option target ‘DNAT’
option src ‘wan’
option dest ‘lan’
option dest_ip ‘192.168.1.50’
option dest_port ‘32400’
option name ‘PlexMedia’
option proto ‘tcp’
option src_dport ‘32400’

If I go to plex.tv and login there, it tells me that I am connected indirectly. What else am I missing? Is there another port that needs to be opened up?

I had a very similar issue when rebuilding my Plex Media Server over the past couple evenings. Using Ubuntu Server 17.04 i struggled and struggled to get Remote Access properly working. I know that my port forwarding rule is working fine on my Edgerouter-X, but still don’t know what i did to fix it. I just kept hammering away at the “DISABLE REMOTE ACCESS” over and over until i was ready to pull my hair out
 then it just started working.

The only part i couldn’t reproduce on my end was the part where you mention being connected “indirectly” – otherwise our setups were fairly similar. I would suggest verifying using this – http://canyouseeme.org/ and punching in port 32400

If you see that light up green, at least you can rule out your OpenWRT setup and know it’s an issue with Plex/Ubuntu. You only need a single port forward rule in your router to get this working properly. I’m starting to think i should have used 16.04.2 LTS. Oh well, good learning experience.

This morning when I checked it, it is now showing fully accessible outside your network. I have not changed anything so I have no answer to why it just started working.

Peatrick, yes I was able to use that site and verify that port 32400 was open. I don’t think it had anything to do with Ubuntu 17.04 because I had been running it for a while. It stopped working the day I installed OpenWRT on my router.

Very weird that our experiences were almost identical. The only difference being the routers used. I’ve been very happy with my Edgerouter-X, so i don’t want to fault it for the struggles with port forwarding, but that was almost certainly my issue. I didn’t really do anything to resolve it either, simply Enable/Disable Remote Access numerous times
 then waited and it just started working.

It was a maddening experience, because Plex makes it beautifully straight-forward to enable remote access to your media and handles the security aspects. It just didn’t make any sense. Happy to hear your situation was amicably resolved, as well. This is my first time using 17.04 for much of anything beyond simple testing.

Look at what ChuckPA posted, this is somewhat of an answer:

Awesome, thanks you. That is incredibly helpful. I know it’d been quite a few months since i had to set up that remote access, but didn’t recall it being this difficult. Great find.

To me it appears to be a bug in the Plex Software. Hopefully they will see this hese forums and fix it.

1 Like

Just a future FYI for this issue. Openwrt out of the box does not come with upnp. Its a quick package you can install via the web interface which allows Plex to open the necessary ports. The Plex server by default uses a random port, not the standard 32400.

1 Like

To fix plexmedia server “indirect” issue you need to do this:
Go to: 192.168.1.1 web interface: Network->" DHCP and DNS"->“Server Settings”->" General Settings".

  1. If you have enabled “Rebind protection” then change "Domain whitelist
    " field by adding this: “plex.direct”. Save settings.
  2. Refresh webpage “https://app.plex.tv/desktop”
  3. Additionally you should have enabled portforwarding for plexmediaserver.
    This fix worked with Linksys WRT3200ACM-EU, Openwrt 18.06.2 r7676.Capture
2 Likes