
Go to the “Remote Access” tab of the Plex settings and enable remote access. Make sure you are familiar with the security risks of opening a public port before configuring anything on your firewall. In case you use pfSense you have toĪdd a firewall rule on the WAN interface.

In summary, ensure that your domain resolves to your public IP and forward port 32400 on the public On both your DNS provider and your firewall. I’m not going into great detail here because it depends The last step is to set up DNS resolution and port forwarding.

The EFF provides installation guides for multiple Theįollowing guide will explain how to use a valid Let’s Encrypt certificate with Plex remote access. So I chose the remote access (reverse proxy will work fine if those features are not important for you). Plex features like the Sonos integration and the mobile Plex apps are not working with this setup since they need directĪccess. Also, I have more control on how the server is exposed to the public Internet. Generally I would prefer the reverse proxy since I can use my existing reverse proxy which already has a valid Let’sĮncrypt certificate. Use Plex’s remote access feature and forward the port on your firewall directly to your Plex server.

Use a reverse proxy like HAProxy or nginx that forwards the traffic and performs SSL offloading.There are two possible options how to secure the connection to your Plex server when exposing it to the public Internet: I’m using Debian Bullseye, but this will work on any Linux distribution. You can use a free Let’s Encrypt certificate for yourĬertbot and a simple Bash script, this will provide a secure connection without certificate
