How to get PFSense to work with Plex?
-
When I use PFSense on my network I cannot get Plex to work over Wi-Fi on my phone, it uses remote access instead of local network, I have a Netgear router that is in AP mode that is connected to my PFSense. I put it in ap mode so the Netgear router can pull an IP from PFSense instead of having its own IP from the router itself, But if I take PF sense out of the equation and just plug my plex server into my netgear AP mode router and use wifi that way it lets me use local network over wifi instead of indirect connection over wifi that PFSense does, I Don't understand why? And by the way my PF sense is set up as a switch, I have six ports on my PF sense one's wan and then the other five ports are setup as a switch on the same subnet and everything, and I forgot to say that I can use LAN through PFSense and it works just fine I don't get remote access when I use LAN but when I use Wi-Fi with the PF sense, it uses remote access instead of local network
-
Did you use a WAN or LAN port from the Netgear? I think in AP mode you should use a LAN port.
-
@hellegaard1 if everything your plex and your wifi client are on the same network, the problem is most likely related to the plex.direct for rebind.
https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/
Scroll down to modem/router settings for dnsmasq and unbound
unbound you need to add this
server: private-domain: "plex.direct"
If your on different networks/vlans for your clients - along with the above setting you would also need a rule on your wifi clients interface to allow access to your plex servers IP on 32400, before you shove traffic out a gateway - if your doing policy routing.
-
@johnpoz I tried to do the DNS resolver for pfsense and it still does not work for some odd reason
-
@hellegaard1 well if your on the same network as your plex, pfsense is not even used to access other devices on the local network.
Can you open the IP directly?
The local url would be something like this
https://192.168.9.10:32400/web/index.html#!/
Where you replace my 9.10 IP there with your local IP of your plex server.
-
@johnpoz when I'm plugged into PFSense on lan,yes I can access the server through the IP, But I cannot access it through Wi-Fi, The Wi-Fi and lan are on the same subnet, That's the thing I don't understand what's going on
-
@hellegaard1 said in How to get PFSense to work with Plex?:
The Wi-Fi and lan are on the same subnet, That's the thing I don't understand what's going on
Well if they are the same subnet then pfsense would have zero to do with that connection.
Router (pfsense) has zero to do with devices on the same network talking to each other. So your wifi router is blocking access or you don't have it in AP mode like you think you do.
To use ANY wifi router as just an access point - connect it to your network via one of its "lan" ports. Turn off its dhcp server, there you go = access point.
For ease of management its best to set the wifi router lan IP to some IP on your network, if your on 192.168.1/24 for example and pfsense is 1.1, then set your wifi router lan IP to 192.168.1.2 for example.. And set your dhcp pool on pfsense to be like 192.168.1.10-250, this gives you couple of IPs before and after the pool to use as statics, like IPs or printers, etc..
-
@johnpoz My router is in AP mode. How I can tell it's in AP mode is if I plug my Xbox into my AP mode router, it pulls an IP from the PF sense not the AP router So yes, it's in AP mode, and second of all AP router can't be blocking the connection because everything I plug into my AP router gets an IP from PF sense, and third for all PFsense is in bridge mode for all five of my pfsense ports to make it into a switch ,The only DHCP that's on is to give IPs to all those 5 ports that are in bridge mode together and they're all in the same subnet range of 192.168.2.2 - 192.168.2.254, and actually I can't even access the server through LAN or Wi-Fi on a different lan port on the PF sense, if I go on the web on the server itself, I can access the server through the web, but I can't access the server through a different PFSense lan port, to me, it sounds like PF sense is blocking lan connections to the server from different lan ports on pfsense that would explain why My router in AP mode still would not be able to access the server directly on lan or wifi, I have a pass rule for every single port on my PF sense so I don't know where Pf sense is blocking lan connections at
-
@hellegaard1 said in How to get PFSense to work with Plex?:
all those 5 ports that are in bridge mode together
And now you mention this.
Use a switch... individual nics are not switch ports.. You can pick up a 8 port gig switch for like 20$
Clearly you got something not working in your bridge setup - I never understand why users insist on doing something the hard way.. Get a SWITCH if you want switch ports..
-
@johnpoz , I have followed tutorials for making pfsense into a switch, If my pfsense didn't actually work as a switch I wouldn't be able to do file sharing with smb through different ports on my pfsense, So yes I can do file sharing with smb on all 5 of the different ports no problem on pfsense, for some reason Plex just isn't working with the PFsense
-
@hellegaard1 said in How to get PFSense to work with Plex?:
for some reason Plex just isn't working with the PFsense
Well did you setup firewall rules on your bridge? And only allow the smb ports.. Bridge is at layer 2.. If you can access through the bridge to something via protocol X.. Then only reason you wouldn't be able to access protocol Y is you firewalled it.
Can you ping your plex IP? When you ping it, do you see the mac even if you don't get a response? You can view your arp table on the client your pinging your plex with arp -a