Remote access stopped working!

Server Version#: 1.19.5.3035
Player Version#: 4.34.3

I guess it’s my turn. My remote access has been working fine, although I don’t really use it that much. Last week we went on a trip and when I tried to start it on my firestick I get the "Plex.your.server is Currently Unavailable). I tried with my phone and the same message.

I’ve had the port-forwarding on my Ubiquiti USG3 router for 2 years without messing with it until today.

someadmin@USG# show port-forward
 auto-firewall disable
 hairpin-nat enable
 lan-interface eth1
 rule 3008 {
     description Plex-gateway
     forward-to {
         address 192.168.2.201
         log enable
         protocol tcp
     }
someadmin@USG# show firewall
     rule 3010 {
         action accept
         description "PortForward [Plex-gateway]"
         destination {
             address 192.168.2.201
             port 32400
         }

My Plex server is a Linux system that has the port open.

┌─[superman@plex] - [~] - [2020-07-12 07:07:44]
└─[0] ip addr | grep 192
    inet 192.168.2.201/24 brd 192.168.2.255 scope global noprefixroute eth0

┌─[superman@plex] - [~] - [2020-07-12 07:18:00]
└─[253] sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  sources:
  services: dhcpv6-client ssh
  ports: 5060/tcp 32400/tcp 8181/tcp 8080/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

Looking through this board I’ve tried doing a port scan from outside my network (all ports, even the onesI know work come back as closed) and I’ve rebooted the USG as well as the Plex server. I’m not sure what to try next. When I dsiable it and re-enable it, to comes back as good but it goes back to bad after about 10 seconds. From the Plex console it’s reporting that it’s being blocked, but as far as I can tell, it’s all open!

Jul 12, 2020 19:01:02.740 [0x7f1042ffd700] DEBUG - HTTP requesting GET http://24-42-149-239.5a0ecec03a114457b5fcd3dec160026d.plex.direct:32400/identity
Jul 12, 2020 19:01:02.744 [0x7f1042ffd700] ERROR - Error issuing curl_easy_perform(handle): 7
Jul 12, 2020 19:01:02.744 [0x7f1042ffd700] WARN - HTTP error requesting GET http://24-42-149-239.5a0ecec03a114457b5fcd3dec160026d.plex.direct:32400/identity (7, Couldn't connect to server) (Failed to connect to 24-42-149-239.5a0ecec03a114457b5fcd3dec160026d.plex.direct port 32400: Connection refused)

I could use a fresh set of eyes and maybe some advice at what to look at next. :confused: Thanks!

Few quick questions:

  1. Do any of your access attempts show up in the firewall logs anywhere? Not sure how detailed the USG logs are, but it’s usually worth to check if anything is in there.
  2. I noticed that the console log exerpt you posted is using http. What’s your setting for secure connections? Preferred? Again, not sure how the USG handles this, but firewalls often don’t reject connections on the WAN side. Instead, the connections are simply blocked, resulting in a connection timeout rather than connection refused “error”. You can test this by trying to access a port on your WAN IP that is not actually open. The point being: If you get a connection timeout on the other port, then you are probably actually getting through to the Plex server - but it is refusing to connect.

What was the result of the scan?

I am running a USGv3 gateway as well. But i dont need any rules in my firewall to have plex inbound working…i have no inbound rules. Wondering why you do.

It looks like you’re using UPNP in your setup where I’m using a manual port-forward rule. I think that adding that port-forward rule automatically creates a firewall rule to allow traffic in on that port. I’ve tried switching to UPNP and I have the same issue still. Thank you for the response!

are you running the latest code for the usg? 5.13.32

Strange… mine is at 4.4.51.5287926 but it says that it’s complete up-to-date. I’m running a USB 3P. You might be using the better USG4.

Well, it turns out that my issue was that my ISP had switched out cable modem last week (why didn’t I remember that?!) and they put in the kind of modem that is a generic router as well. I did not realize that I was running a router behind the router setup. I was able to figure out the admin password and turned off the firewall. That got Plex working again. I appreciate all the input guys. Thanks again!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.