How to secure remote access for a Docker Plex Server in Synology NAS?

Server Version#: 1.21.0.3616
Player Version#: 1.24.0.1483-714cba36 (macOS player)

Hello,
I installed Plex Server with a Docker container in my Synology NAS (DS920+).
I access it in my LAN with its IP adresse an 32400 port. i’ve got no problem with it. Everything works fine.
I have a domaine name, say it is myplex.nas.ndd.fr witch redirect to my internet ip address.
As I have severals other service running on my NAS and need to be accessible from internet, I set up a reverse proxy for all my domaine names. So https://blabla.nas.ndd.fr , https://blabla2.nas.ndd.fr* etc… (with 443 port) are redirected on the correct LAN-IP adress/port, severals are on the synology nas, like plex server.
So with https://myplex.nas.ndd.fr I have access to my plex server.
I have to add that on my router, I forward 443 port to my NAS, so the reverse proxy does the rest.

Today, I set “Secure connection” to required :

I can access my plex server using the domaine name through my smartphone’s 4G connection, without problems, but with the macOS Client, this doesn’t works, unless I set this :


At this moment, I get the mention “Indirect”, but I can access my medias and playing works fine (with the macOS client, and with the domain name).
But, is it secure anyway ?

In this screenshot, at background, this is the web access with domain name in https, in foreground the macOS Client :

But, when I use the app.plex.tv website, it doesn’t work all the time. If it works, I get the indirect connection. And when it doesn’t work, I get this :

So, what is the best way to secure my remote connection with my particular setup ?

Thank you in advance, I hope I don’t make too much mistakes in my writing…
:innocent:

Hello here,
After some digging, I found the settings letting me access without warning, remote ok and green padlock :
image
It works fine wether via https://app/plex.tv or via https://monplex.ndd.tld or via macOS client :smiley:
Here are those settings :

  • Relay deactivated
  • Custom server access URLs set to : https://iplocale:32400,https://monplex.ndd.tld
  • Remote Access activated with remote port = 443 (I reverse-proxy external access on my NAS) (without this activated, it doesn’t works remotly);…
  • Secure connections set to Required.

All works fin for now.
If this can help somebody somedays :innocent:

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