UnicornTranscoder / UnicornLoadBalancer

MIT License
128 stars 16 forks source link

Expose server (manual port) and secure connections #20

Closed psyciknz closed 4 years ago

psyciknz commented 4 years ago

The ports for remote access confuse me.

I use a non standard (2530). On my router this is a forward from 2530 to my plex machine on 32400.

To get load balancer - which seems to run on 3001 to work with remote access, I'd have thought setting it all up so the load balancer was on 32400, port forwarded from 2350 (router), and put plex on 32401.

I can get a connect via the load balancer, but can't get the secure connections to work.

psyciknz commented 4 years ago

So I followed this really great post: https://forums.plex.tv/t/release-unicorntranscoder-create-a-plex-transcoding-cluster/281679/68 and got a working local setup using my domain name, through caddy to the load balancer.

For the life of me, I couldnt' get external access working, either via plex.tv or using my domain name. I kept getting a S1002 error.

I couldn't see any logging (I'm using the docker containers https://github.com/magn2o/unicorn-docker for master and slave.

LB Port 3001 Plex port 32400 Advertise Ip is my https://plex.mydomain.com:443

Maxou44 commented 4 years ago

The load balancer don't provide https access, you need to setup a nginx proxy for that ;)

Put plex on 32400 and redirect your router from 2530 to 3001

Don't forget to disable Plex Relay