Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to make Pfsense Works with PLEX

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      Issa2023
      last edited by

      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 :
      39707e27-3df1-4e80-be3c-a789b868883f-image.png

      this the configuration of FAI routeur :

      43f795a2-3bd6-49fd-8917-b5c5df777dbd-image.png

      This the configuration of pfsense in WAN

      589aac6a-e4e5-4586-a2cc-45615eaba065-image.png

      this is the configuration of the LAN :

      baa518cd-ba84-4ac0-8f12-cad5115596bf-image.png

      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

      P 1 Reply Last reply Reply Quote 0
      • P
        pokrifchakd @Issa2023
        last edited by

        @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.

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @pokrifchakd
          last edited by johnpoz

          @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.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          P 1 Reply Last reply Reply Quote 0
          • P
            pokrifchakd @johnpoz
            last edited by pokrifchakd

            @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.

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @pokrifchakd
              last edited by

              @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.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 1
              • I
                Issa2023
                last edited by

                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 :

                a4d9a0d1-91dc-4cb0-a17b-95d7709a1f2e-image.png

                ok so that 's works if i see my plex with web browser

                but the official plex application still not working

                2fd5a304-2c1d-4532-b9ef-0c2e50f1cf2b-image.png

                and plex still told me, plex can't see over internet

                :/

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @Issa2023
                  last edited by

                  @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.

                  plex.jpg

                  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.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  I 1 Reply Last reply Reply Quote 1
                  • I
                    Issa2023 @johnpoz
                    last edited by

                    @johnpoz

                    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 !!!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.