I am running Plex Media Server in a FreeBSD jail (container). I recently setup a firewall (pf) such that all incoming traffic is blocked except:
tcp 32400
tcp 32401
However, I noticed that when attempting to add a library, it would not work, so I tried reinstalling plex altogether, and it still would not work. Long story short, I disabled my firewall altogether and was able to reinstall plex and again add other libraries to my collection.
So, my question is, what other ports should I open to allow Plex Media Server to scan and import media on my local machine? So far, for me, this looks something like:
Yes, I came across that, but that seems incomplete. That seems accurate once the server is setup and running. I will re-run setup and do a tcpdump on my pflog interfaces to see what specific ports are needed.
I’m curious about some of the ports you have listed, in particular 32401 and 32600. As far as I know, Plex only listens on those on the localhost interface. Are you applying pf rules to your localhost (127.0.0.x) interface(s) as as well? Those are used for inter-process communication by Plex and likely other services/programs on your system.