kdaicloud.blogg.se

Plex media server windows
Plex media server windows










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.

plex media server windows

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.

  • Custom certificate encryption key: PASSWORD.
  • Custom certificate location: /var/lib/plexmediaserver/plex_certificate.p12.
  • Set the following configuration (replace PASSWORD and ): Go to the “Network” tab of the Plex settings. Use the Let’s Encrypt Certificate in Plex SLEEPTIME = $( awk 'BEGIN' ) echo "0 0,12 * * * root sleep $SLEEPTIME & certbot renew -q" | sudo tee -a /etc/crontab > /dev/nullįor testing, you can use sudo certbot renew -force-renewal to force a renewal and trigger the post renewal hook. For Debian the official recommendation is using Snap:

    plex media server windows

    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.

    plex media server windows

    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












    Plex media server windows