Setup proxy

This step is optional but highly recommended.

Streams Manager allows you to route all requests to plex.tv domain through a proxy. This is an additional security measure to ensure that your account is not accessed from Streams Manager's IP address. This is an optional step but recommended.

You have two options for proxying:

  1. (Recommended) If you have ssh access to the machine running the Plex Media Server, you can run a simple proxy program I created which is described below. Alternatively, you could also run well known open source proxy server https://www.squid-cache.org. This will allow you to proxy your calls to plex.tv through the machine running the Plex Media Server and the calls will look exactly the same as the calls that Plex web app makes when accessing your server. Many think, this is the best option.

  2. If you do not have ssh access to the machine running the Plex Media Server, you can purchase a separate HTTP proxy service (lots of the on the Internet like https://www.anonymous-proxies.net/products/http-proxy/ or https://marsproxies.com/proxies/residential-proxies) and proxy your calls through that service. This will still ensure that Plex nevers sees Stream Manager's IP address.

Proxy program

I have created a simple proxy executable that you can run on a machine that runs your Plex Media Server.

Requirements

The program requires .NET 6.x to be installed. Please see this to install .NET 6 on your machine https://dotnet.microsoft.com/en-us/download/dotnet/6.0.

Running

Download the executable from the Github repository for your platform (windows or linux) and choose the correct architecture (x64 or arm64) create a Docker image from the included Docker file. Make the file executable if necessary (chmod +x).

Arguments

PlexManager.Proxy run --port 5000 --username proxy_user --password proxy_pass

  • --port Port on which the proxy will listen for connections

  • --username Username for proxy authentication. Omit for no authentication

  • --password Password for proxy authentication. Omit for no authentication

Last updated