I have Plex media server installed on my Linux home server. Because of my ISP, the only way to give public access to my server is to set up an ssh tunnel with my VPS. I’ve set up this ssh tunnel for the Plex web interface as well (port 32400), but I’m not sure how to make it so that remote access uses an ssh tunnel. Currently, even if I specify a tunneled port in the Remote Access settings page, it still says that the server is not available outside the network, and only the web client works. (I’ve tried connecting from outside my network with both the Android app and the app on my brother’s TV.) Am I missing a step?
Thanks everyone!
You must disable ‘Secure Connections’ in Plex, unless you have a publicly trusted cryptographic certificate for your domain (i.e. self-signed won’t work). If you do, you must give this to Plex as well. (details on the same help article, linked above)
Then, the URL starts of course with https
If you use a custom server URL, the connection test from plex.tv won’t work, so you will always see “not available outside the network”.
To test the connection, simply ping your custom URL.
You need to create a port forwarding from your VPS (I recommend to use an arbitrary external port number, instead of 32400. Of course you must then modify the portnumber at the end of your custom access URL)
to the port number 32400 of your Plex server machine. (The end port number cannot be changed, it must be 32400.)
Only forward TCP packets.
How to create this tunnel and the port forwarding, I cannot tell you.
Unfortunately I have never done this myself and I have no Linux knowledge.