Plex remote access and double NAT

Long story short I have a double NAT situation that I can’t change and I’m trying to get remote access working on plex behind it. On the first router I’ve set the second router as the DMZ and this works but only for about 10 seconds and then plex says it no longer has remote access.

Has anyone got plex to work in a similar situation? I’m not really sure why it initially works but then stops. I have a workaround but I’d prefer to get it working this way.

You can use Tailscale to get access to a plex server behind double nat. I think you can also use a Cloudflare tunnel

As I say I have a workaround, I’m just trying to get a direct connection working and I’m not really sure why it isn’t.

I don’t really understand the issue here… Usually when people struggle with double NAT it is because their first (ISP) router is already NAT’ed by CG-NAT. you seem to have control over the first router?

Without more details on your current setup, I’m not sure what the issue could be. The second router is the DMZ on the first, but how is the second router setup? Port forwarding to the host running plex? Is the firewall configured properly everywhere?

PS: If you have ipv6, that could be a solution?

The second router is configured correctly and remote access on plex does work but only for about 10 seconds.

Could it be some firewall in the middle that allows outgoing but not incoming packets and starts dropping packets after 10 minutes?

Are these consumer/ISP routers? How flexible are the firewalls? Are you sure there is no ‘blocking by default’ if there is a consumer router/firewall in between?

Traceroute from the client to the server?

I don’t think it’s a firewall problem, I think it’s an issue with the way that plex tests for an open port.