- Fortigate Rules Plex Media Server Login
- Fortigate Rules Plex Media Server Free
- Fortigate Rules Plex Media Server
Tl;dr: If publishing your Plex Server behind a Fortigate running FortiOS 6.0.2 and you want to use a second static IP address for your server, you have to create the VIP and NOT use port forwarding. After you create the VIP, then you can set your IPv4 Policy to allow TCP32400 to. I opened the same ports on the Fortigate I used for my previous router. I have created a virtual IP group 'PC server' with the 4 virtual IPs and created a IP4 policy called port forwarding. Incoming interface is WAN 1 which is connected to the cable modem, outgoing interface is 'internal' which is LAN port 1 and connected to an access point.
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
Fortigate Rules Plex Media Server Login
- 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.
- Create a resource group. Mine is called 'Plex'.
- Inside 'Plex' RG, create a storage account. Mine is called 'alexplex'.
- 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.
- Inside 'Plex' RG, create a virtual network. Mine is called 'plex-vnet'.
- 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'.
- Link the previously created storage to the VM.
- Click on Network Security Group, and add an inbound rule for 1001 port.
- Validate and Deploy VM. Once deployed, copy the public IP address for the VM.
PuTTy
- As I'm using a Linux VM, I am going to use PuTTy. Download PuTTy from https://www.ssh.com/ssh/putty/linux/
- Open PuTTy and paste your VM's IP address into the Host Name field.
- Click the plus next to SSH on the left panel, then click Tunnels.
- Enter 8888 into the Source port field and localhost:32400 in Destination field.
- Click Session on the left panel, save this PuTTy configuration, and then click Open.
- Enter your password to log in to the VM.
- Enter the following commands:
Plex
- Open a browser window and type http://localhost:8888/web into the address bar.
- Log in with your Plex account and go through the steps to setup the Plex Server.
- When at the main Plex homescreen and ready to add media, return to the Azure Portal.
- Find your File share e.g. 'plex' and click Connect.
- Copy the command for Linux.
- Open PuTTy and run this command to mount your file share to a directory on the VM.
- 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 Free
Azure Storage Explorer
Fortigate Rules Plex Media Server
- Open Azure Storage Explorer. You may need to install this if it is not installed on your local machine.
- Add your Azure account and sign in
- Find your File share e.g. 'plex' and start to add your media from your local machine to the File share
- Open Plex and see your files begin to show :)