How to make Pfsense Works with PLEX
-
Re: How to get PFSense to work with Plex?
hello there,
so i m stuck with PFSENSE and my plex serveur
this my configuration :
INTERNET <---> FAI routeur (192.168.25.1/24)<---> (192.168.25.20/24)(WAN)Pfsense Firewall (LAN)(192.168.1.1/24)<-|--> (192.168.1.28/24)Plex serveur
in local evrythinks works but form internet i m stuck
the plex serveur told me this :
this the configuration of FAI routeur :
This the configuration of pfsense in WAN
this is the configuration of the LAN :
the Plex serveur can ping local machine, can go on the internet to update.
but now can u have information about why in can't connect on my plex server from internet please
I think the probléme is a nat problem, the serveur PLEX can't go return information (it's just idea), but i can't found how to detect this problem
thanks all
-
@Issa2023 You are in a Double NAT configuration, which is never good for running services. If you can, create a static route on your FAI firewall to 192.168.1.0/24 with the next hop being 192.168.25.20. This will send the traffic to your pfSense firewall, which is directly connected to the subnet with your Plex server.
If you are able to configure that static route, then you will need to modify the port forwarding rule on your FAI firewall so that the destination is 192.168.1.28, instead of 192.168.25.20.
-
@pokrifchakd in a double nat, route isn't what is needed. What is needed is a forward setup on the edge router too send the port to pfsense wan IP.. So that it can then forward to the plex server.
You may also need to manually set the port, because out of the box plex wants to use UPnP - which won't work in a double nat setup.
-
@johnpoz To me, that looks like the current configuration he's got. If you look at the rule on the FAI gateway, it's pointing 32400 to the WAN IP of the pfSense.
Rereading my previous post, I realize I never completed my thought. What I meant, is that the NAT rules on the pfSense firewall can be disabled, then he's dealing with only the NAT on the FAI. He'd still have to add the route on the FAI, so it knows how to get to the Plex server. I had a similar situation on a previous ISP and this is how I got it working.
-
@pokrifchakd yeah if you didn't nat on the edge router, then sure he could use routing.
But would seem to me traffic isn't getting to pfsense, or his rule would show evaluations vs just 0/0 for states.
Hhis lan rule is completely wrong that now take a closer look.. That rule to 192.168.1.28 makes no sense.. Stuff on the lan wouldn't be using pfsense to talk to other things on the lan.
But what he does need to do is allow plex out so it can report its public IP..
What I would do is validate traffic can get to pfsense, first - go to can you see me . org and send traffic to 32400.. Do you see that hit pfsense wan via a sniff, or does a state get created, etc.
-
Re: How to make Pfsense Works with PLEX
i still not understand how to make my serveur PLEX works over pfsense and the second FAI routeur
what i try is this :
INTERNET <---> FAI routeur (192.168.25.1/24)<-|--> (192.168.25.20/24)(WAN)Pfsense Firewall (LAN)(192.168.1.1/24)<-|--> (192.168.1.28/24)Plex serveur |---> Desktop client (192.168.25.23/24)
with the desktop client i try to connect on plex, and now works
even from the internet !!
So i remove all rules i add in the first post
i got this rules in my FAI routers :
the same at the first post
and i got this rules in my Pfsense NAT :
ok so that 's works if i see my plex with web browser
but the official plex application still not working
and plex still told me, plex can't see over internet
:/
-
@Issa2023 do the manual setting for your port.. It should show you the public IP then..
I believe when you don't set manual its trying to do UPnP which isn't going to work in a double nat.
I use a different external port, but you can just put in 32400.. For your manual port. Also the plex needs to be able to talk out register its public IP. Your lan rules before were not allowing plex or anything out that I saw your rule was to the 192.168.1.28 for destination. You need to have a rule to allow internet on your lan.
Maybe you were not just showing all the rules?
https://support.plex.tv/articles/200931138-troubleshooting-remote-access/
See the double nat section in that link.
-
Hello, that's works, to resume,
i have to add a nat port and fixed the port on the Plex serveur
and now works
realy thanks to help me to found this
thanks all !!!