Fortigate Rules Plex Media Server

Welcome to the forum. You'll need to ensure the server can receive inbound connections through whichever port you've designated, the default is 32400. For that to happen correctly, you'll need an inbound Application rule for Plex Media Server.exe and, depending of your Global rules, a corresponding inbound Global rule for TCP Port 32400. Plex is a client-server media software suite. It has two main components, plex media server, and plex player. Plex media server is an application that allows you to organize your media files like video, audio, photo, and other media from online sources, then stream them over the local network or over the internet. This article explains how to configure Nat Port Forwarding for Web Server on the Fortigate firewall device, so that external users can access the Web Server inside the local network. Next-generation firewalls (NGFWs) filter network traffic to protect an organization from internal and external threats. Along with maintaining features of stateful firewalls such as packet filtering, IPsec and SSL VPN support, network monitoring, and IP mapping features, NGFWs possess deeper content inspection capabilities. After you’ve set the port in Plex and set up the two rules (static IP and port forwarding) in your router, everything is all set. Simply hop back over or to the Plex Media Server control panel to double check the server status page, and enjoy. Plex Media Server generally works, by the magic of UPnP, right out of the box.

Overview

Fortigate rules plex media server login

This article explains how to configure Nat Port Forwarding for Web Server on the Fortigate firewall device, so that external users can access the Web Server inside the local network

How to configure

  • Log in to Fortigate by Admin account
  • Firewall Object -> Choose Virtual IPs -> Click Create New
Fortigate Rules Plex Media Server
  • Name for Nat rule
  • In External Interface: Choose Port WAN of device
  • In External IP Address/Range: Enter IP WAN of device
  • In Mapped IP Address/Range: Enter IP of Web Server
  • Tick in Port Forwarding
  • In Protocol: Choose TCP
  • In External Service Port: Enter 80 for HTTP and 443 for HTTPS
  • In Map to Port: Enter for HTTP and 443 for HTTPS
Fortigate

-> Click OK to save

  • Policy -> Click Create New
  • In Incoming Interface: Choose Port WAN of device
  • In Source Address: Choose All
  • In Outgoing Interface: Choose Port LAN of device
  • In Destination Address: Choose Web Server was created before
  • In Service: Choose HTTP
  • Tick in Enable NAT

-> Click OK to save

** If you have difficulty configure Sophos products in Viet Nam, please contact us:

Hotline: 02862711677

Email: info@thegioifirewall.com

Fortigate rules plex media servers

For years I was dedicated to my craft of buying records of vinyl, ripping the songs to WAV and Djing alongside my digital collection of music compiled over years from various sources. More recently, I've found myself almost entirely converted to the use of Spotify! However, some of my more obscure soundcloud downloads and vinyl rips are missing from Spotify and so an Azure based Plex server, and the Plex app on my laptop and phone are the perfect solution.

I followed the steps from this video https://youtu.be/ylklaOXz8Fc with a few tweaks along the way.

Virtual Machine

  1. Download Plex Media Server from https://www.plex.tv/media-server-downloads/. In this tutorial, I will use a Linux VM and so downloaded the Linux version of Plex.
  2. Create a resource group. Mine is called 'Plex'.
  3. Inside 'Plex' RG, create a storage account. Mine is called 'alexplex'.
  4. Once created, inside your storage account e.g. 'alexplex', click File shares (under File Service) and add a File share. Mine is called 'plex' and I set the Quota as 1024.
  5. Inside 'Plex' RG, create a virtual network. Mine is called 'plex-vnet'.
  6. Inside 'Plex' RG, create a Linux virtual machine. I used the most recent Ubuntu Server OS image available on the Azure Marketplace. I used a B1s VM and mine is called 'plex-LVM1'.
  7. Link the previously created storage to the VM.
  8. Click on Network Security Group, and add an inbound rule for 1001 port.
  9. Validate and Deploy VM. Once deployed, copy the public IP address for the VM.

PuTTy

Plex
  1. As I'm using a Linux VM, I am going to use PuTTy. Download PuTTy from https://www.ssh.com/ssh/putty/linux/
  2. Open PuTTy and paste your VM's IP address into the Host Name field.
  3. Click the plus next to SSH on the left panel, then click Tunnels.
  4. Enter 8888 into the Source port field and localhost:32400 in Destination field.
  5. Click Session on the left panel, save this PuTTy configuration, and then click Open.
  6. Enter your password to log in to the VM.
  7. Enter the following commands:

Plex

Fortigate Rules Plex Media Server

  1. Open a browser window and type http://localhost:8888/web into the address bar.
  2. Log in with your Plex account and go through the steps to setup the Plex Server.
  3. When at the main Plex homescreen and ready to add media, return to the Azure Portal.
  4. Find your File share e.g. 'plex' and click Connect.
  5. Copy the command for Linux.
  6. Open PuTTy and run this command to mount your file share to a directory on the VM.
  7. Return to Plex, and click to Add Library. Browse for Media Folder and select the folder on your file share.

Fortigate Rules Plex Media Server Download

Azure Storage Explorer

Fortigate Rules Plex Media Servers

  1. Open Azure Storage Explorer. You may need to install this if it is not installed on your local machine.
  2. Add your Azure account and sign in
  3. Find your File share e.g. 'plex' and start to add your media from your local machine to the File share
  4. Open Plex and see your files begin to show :)