Re:Show HN: A tool to self host game servers with a free sta...
by stevekemp on Thursday June 10, 2021 @01:59AM
(#27457260)
I'd look at using an SSH reverse tunnel. If you can connect from the plex-server to a server hosted on EC2, Linode, DigitalOcean, etc, you could expose the service from that.
Something like:
ssh -f -N -T -R 8080:localhost:80 [email protected]
Now access to your remote host on port 8080 will be mapped back to your home machine, behind the NAT. You could install nginx as a proxy for it, etc.
a script to set it all up (debian 8): https://gist.github.com/scktt/b586dd4bf5a19be91a978c6b2abb59...