Only indirect connection

Hey, I just did a clean install of PMS on an Ubuntu server (also clean install).
I used plexupdate (GitHub - mrworf/plexupdate: Plex Update script to simplify the life of Linux Plex Media Server users.)

Now the PMS tells me “Fully accessible outside your network” but there still is only an indirect connection available from any client.

I really have no idea how to fix this :confused:

May I see your log files please? (settings - server - help - download logs) Please attach the ZIP file it presents with your next post.

I’m trying to track down a seemingly wider spread connectivity issue

Here you go

Operations just deployed a change which should address this.

Please restart and let us know?

@ChuckPA said:
Operations just deployed a change which should address this.

Please restart and let us know?

seems to be working now. Testing with a few users.

Yes, it seems to be working now, awesome! Trank you very much und merry christmas:)

I am still being forced to indirect connection, but I also now have the “Not available outside your network”. Since the last beta patch it seems as if my plex server will just go away and return to service at random times. I can be playing a audio file and it will just error out and say there is a network error, refresh the page and can play the next file.

Version 1.11.0.4633
Ubuntu 16.x
multihomed server with public IP and private IP.

any ideas?

Thanks!
-Dustin T

If you are using the Plex Beta, does the issue resolve when you return to public?

that seems to have solved the play issues. but its still indirect and “Not available outside your network”.

-Dustin T

Remote access is a timing / less-than-optimal UPnP thing with the modem/router. (ISP equipment isn’t the greatest in most cases).

Clarify what you mean by indirect please just to be certain?

  1. Indirect while on your LAN (as you look at your own server)
  2. Indirect while others look at your server from outside your LAN.

If it’s from outside, that’s the Remote Access being a PITA.

Manual port mapping or a GOOD UPNP modem will do it. I had to get my own equipment (pfSense box from Netgate) to get it done right but now I have

  • proper UPNP
  • proper port management
  • real stateful firewall that works
  • nobody changing my config / firmware when not looking

might have spoke too soon, it did play a couple of songs in a row, but then died mid song.

So my setup is pretty straight forward. I fear though that is what is causing PMS to have issues. I have never been able to get the plex server to bind to one nic in my ubuntu system. Basically I have a dell R710 with 1g ports and a 10g SFP card. The 1g has a direct Public IP address attached to it (I host a couple web sites). I am using UFW directly on the ubuntu server on the public nic. the internal nic is allowed more access since its attaching to a NSF share and using that to store a good deal of my media.

I have a block of 8 dedicated Public IPs provisioned to me by my ISP, so I will attempt to lay out how I get connection: I have a Fiber portal that brings the service in, from there it goes 1g copper to an edgemax router, this router feeds my Public IP’s to a switch. On this switch I have connected my pfsense firewall, my Plex/web server, my sons minecraft server, and my nef’s centos server. these all have an assigned public IP to them. My clients (plex) at my home sit behind the pfsense firewall, but have access to the plex server due to its dual nic setup.

In the plex setting page it is how ever garbing the correct public IP when you look at enabling remote access. it looks like this: Private : 32400 <- GREEN ARROW Public : 32400 Red X grayed out globe.

The indirect is displayed on both locally to the plex server and remotely to the plex server. The playing stopping is new since one of the updates a week ago. even down grading hasn’t completely resolved the play issues.

thoughts?
-Dustin T

Dustin,
With that many inbound connections, I would need to see your log files and what PMS reports but,

When you have that many different IPs involved, PMS doesn’t know which one to use by default.

One possibility, which I do resist, is to container/VM it and control which adapter is presented to PMS.

If you use a VM, which is easiest to manage/setup, set in bridge mode, you can create the VM with its own IP. This will, of course, make it look like a peer host on your LAN.
Being Linux, you mount the shares in the VM as you would any other Linux host.

The only requirement you then have is the VM must be started in addition to the host running

Hi ChuckPA,

I may have made that seem more complex than it is, its really only 2 IP’s where the PMS is accessed. I have done some more testing and I found out I can play with out issue by using the private IP in the web browser, the server shows up as server near me instead of indirect and I have been playing music for hours with out it stopping.

I would really prefer not to add a VM complexity to my setup, these are all bear metal installs. And it was working with out indirect just a few weeks ago. I am at a loss as to why it all the sudden started doing this.

I have attached my logs, this is still in the downgraded version of PMS. and a network diagram if that helps give you a better idea how I am setup.

Thanks!
-Dustin T

hi all,

I has same issu… and i limit at 2Mbps Bandwitch… :frowning:
my network is

Internet → ISP box (forwarder everything to my pfsense) → 192.168.1.2(my pfsense with PAT to my PMS) → 192.168.2.2 (my PMS)

in my server setting, it say me my server is fully accessebly from outise , but my server access type is always indirect, always when i open in my local web browser (in the PMS server).

any suggestion ? thank for your help…

If you can put your ISP in RFC-1483 transparent bridge mode and have the pfSense perform the login for you, it can provide NAT, and firewall in one step.

I found that easier than trying to fuss with the ISP’s box which gets frequent firmware updates (wipes any port forwarding configuration)

Hello Everyone,
As i just experienced the Indirect issue I would like to throw my 2 cents in here. I have my isp modem connected to my netgear R7000 router. I am currently using DD WRT firmware ( 3rd party firmware for my router that is very configurable ) and using it as AP bridged to my modem. So the only thing the modem does is supply a connection. With that being said here is the line i have added to my router configuration

Under services tab in the box called “Additional DNSMasq Options” put the following and save then apply

rebind-domain-ok=/plex.direct/

reboot router just to be sure and this instantly fixed issue. Now i believe this command can be modified to your modem or router if you are able to apply it in the proper spot. Hope this helps and as i said once added it works with the app https://www.plex.tv/sign-in/ or http://www.plex.tv/sign-in

I have read everything here and tried what I could. I am not a computer maven just a Plex Pass subscriber who wants to get a direct connection. My son and son-in-law set up a EXSI server in the basement with pfsense, Ubuntu 14.06 and Windows 2016 server. I try and keep alll the SW up to date. I can move my way around the pfsense router. I added a custom DNS forwarding option: rebind-domain-ok=/plex.direct/ with no help. I tried setting Plex from BETA to Public with not help. I am not sure what else I can do. Any help appreciated.

If your issue is to do with DNS Rebinding Protection. Then whitelisting plex.direct would be the right approach - see this support article which gives example of configuring this in pfsense https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/

If you continue to have issues, please ensure debug logging is enabled on the server - see https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Shutdown and re launch the server
Go to settings / server / remote access / show advanced

Check status

Also check that the public port that is mapped and specified is reachable on web page canyouseeme.org

Also try to connect remotely eg cellular on mobile
If the connections are indirect - capture the logs from the client app and the server and attach here

See
https://support.plex.tv/articles/200250417-plex-media-server-log-files/
And appropriate web page for the client logs
For iOS https://support.plex.tv/articles/201636593-ios-logs/
Or for android https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/

sa2000 , Thank you and Thank you and Bless you man!! The first tweak in pfsense DNS resolver was the magic pill !!

I am 72 years old and have been playing with PCs for over 35 years. They have gotten so complex that I am simply in awe of folk like yourself who have such a wonderful knowledge base. Best wishes, Mike