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

Plex not working outside the network

NAT
6
26
3.8k
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.
  • G
    godhead83
    last edited by godhead83 May 19, 2021, 8:29 PM May 19, 2021, 8:19 PM

    Hi All,
    I have just moved to pfsense running on a watchguard appliance.
    I run plex from a synology nas and this is shared to a friend over the web. This was all working fine when i used a edge router x as the internal firewall behind a vodafone home modem router.

    I have port 32400 set to open on the vodafone and forwards to wan of pf sense. I have a nat rule to forward traffic to the internal ip of the synology. I have also added server: private-domain: "plex.direct" to dns resolver.

    When i was using the edge router i could test the port 32400 from the web and it would say open. But now i get closed.

    So i'm not sure what else i'm missing and if its saying closed from the web, is that the vodafone sending that back?

    Any help would be much appreciated.

    1 Reply Last reply Reply Quote 1
    • A
      AndyRH
      last edited by May 19, 2021, 9:32 PM

      I have a simple NAT rule in pfSense and it works for me. My ATT gateway has pfSense in the DMZ so all ports are sent to pfSense.
      It may take a packet capture to know for sure which system is rejecting the port.

      Does vodafone have a DMZ option?

      o||||o
      7100-1u

      1 Reply Last reply Reply Quote 0
      • O
        Owen82
        last edited by May 20, 2021, 5:20 AM

        Did your NAT rule also create a firewall rule? I think there is an option towards the botton of the NAT rule settings where you can see the associated "Filter rule association" (i just checked :) ).

        1 Reply Last reply Reply Quote 0
        • A
          AndyRH
          last edited by May 20, 2021, 1:56 PM

          Yes, there is a NAT rule and FW rule.

          o||||o
          7100-1u

          J 1 Reply Last reply May 20, 2021, 3:25 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @AndyRH
            last edited by johnpoz May 20, 2021, 3:43 PM May 20, 2021, 3:25 PM

            I have been running plex behind pfsense for years. And have many many people using it remotely.. And yes for last few years this has been on my synology nas (ds918+) Which works great btw.. Low power nas, with decent enough umph to handle multiple clients on 1080..

            If can you see me . org test on 32400 is not working.. Then something wrong.. First test is to validate traffic actually gets to your pfsense wan. I use a different external port than internal - but this doesn't really matter for the sake of discussion. Lets call it security through obscurity ;) This is a way I can see what is just scanning or plex, and who are my true clients.

            🔒 Log in to view

            While running the test from the external - sniff on your wan and validate that traffic gets there.

            🔒 Log in to view

            No offense - but can we see these rules.. Users quite often say they did X, but find out they really did A+B^12x42

            🔒 Log in to view

            Do have any floating rules? What version of pfsense are you on? Do you have multiple wan? There is a known issues with port forwards and multiple wan only working with default gateway, etc. Do you have rule on top of the rule that allows that could block?

            Do you get a green check mark in plex?
            🔒 Log in to view

            I currently use different external port, but it sends to plex on 32400..

            Are you using say pfblocker auto rules to block countries? Or Ips - notice I use in my rules pfblocker to limit who can talk to plex. I have added to this list the status checking IPs they use to see if your plex is open.

            🔒 Log in to view

            I allow only US Ips, and the IPs from external check I do with status cake to notify me if plex goes down, and the IP that plex uses to check if plex is available remotely - these IPs sometimes change. Here is that url https://s3-eu-west-1.amazonaws.com/plex-sidekiq-servers-list/sidekiqIPs.txt

            Is plex actually seeing your correct public IP? If you are routing traffic out a vpn for example - plex might think its X, while your real wan is Y.. Remote clients trying to go to X would never get to your plex.. Notice the IP plex is showing for its external in the remote setting.. Mine starts with 64, but that is my actual pfsense wan IP..

            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

            M 1 Reply Last reply May 20, 2021, 6:57 PM Reply Quote 1
            • M
              mcury @johnpoz
              last edited by May 20, 2021, 6:57 PM

              @johnpoz said in Plex not working outside the network:

              I allow only US Ips, and the IPs from external check I do with status cake to notify me if plex goes down, and the IP that plex uses to check if plex is available remotely - these IPs sometimes change. Here is that url https://s3-eu-west-1.amazonaws.com/plex-sidekiq-servers-list/sidekiqIPs.txt

              Hey, those are the best tips ever...
              Just copied your setup

              Just not using the statuscake, to be honest didn't understand what it does..

              dead on arrival, nowhere to be found.

              J 1 Reply Last reply May 20, 2021, 6:58 PM Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @mcury
                last edited by johnpoz May 20, 2021, 7:02 PM May 20, 2021, 6:58 PM

                Its a free service that can monitor stuff, ping, tcp ports, etc. And will send you alert if goes down. This way I know if my plex goes offline, and can fix before my friends and family start asking me why plex isn't working ;)

                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

                M 1 Reply Last reply May 20, 2021, 7:02 PM Reply Quote 1
                • M
                  mcury @johnpoz
                  last edited by May 20, 2021, 7:02 PM

                  Very useful indeed.. I thought that my setup was good before... :)

                  dead on arrival, nowhere to be found.

                  J 1 Reply Last reply May 20, 2021, 7:04 PM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @mcury
                    last edited by May 20, 2021, 7:04 PM

                    Only thing is - if you limit IPs like US only, etc. Their IPs change now and then - so they could send you a false down alert.. So use their dynamic list they provide to make sure the IPs they might test from are allowed to talk to plex.

                    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

                    M 1 Reply Last reply May 20, 2021, 7:07 PM Reply Quote 0
                    • M
                      mcury @johnpoz
                      last edited by May 20, 2021, 7:07 PM

                      Only thing is - if you limit IPs like US only, etc. Their IPs change now and then - so they could send you a false down alert.. So use their dynamic list they provide to make sure the IPs they might test from are allowed to talk to plex.

                      🔒 Log in to view

                      Already set :)

                      dead on arrival, nowhere to be found.

                      J 1 Reply Last reply May 20, 2021, 7:08 PM Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator @mcury
                        last edited by johnpoz May 20, 2021, 7:09 PM May 20, 2021, 7:08 PM

                        You might also want to enable plex own checks to see that plex is available remote. Or plex itself might think its not available remotely - and you get stuck doing relay mode for remote users.

                        edit: Oh you have that one - if you want to use status cake you would want to add their ips

                        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

                        M 1 Reply Last reply May 20, 2021, 7:12 PM Reply Quote 0
                        • M
                          mcury @johnpoz
                          last edited by May 20, 2021, 7:12 PM

                          @johnpoz said in Plex not working outside the network:

                          You might also want to enable plex own checks to see that plex is available remote. Or plex itself might think its not available remotely - and you get stuck doing relay mode for remote users.

                          Already set :)

                          🔒 Log in to view

                          edit: Oh you have that one - if you want to use status cake you would want to add their ips

                          I'll add it, opened their website and it seems that I need an account to proceed, still checking how to proceed

                          dead on arrival, nowhere to be found.

                          J 1 Reply Last reply May 20, 2021, 7:13 PM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @mcury
                            last edited by johnpoz May 20, 2021, 7:15 PM May 20, 2021, 7:13 PM

                            Yeah you need an account - but they have a free tier that allows quite a few checks - its just some limitations on how many ips can check you, and from where - and how often you can check etc.

                            I just use the free service and have multiple things being checked not just plex.

                            edit: Here are my current tests
                            🔒 Log in to view

                            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

                            M 1 Reply Last reply May 20, 2021, 7:16 PM Reply Quote 1
                            • M
                              mcury @johnpoz
                              last edited by May 20, 2021, 7:16 PM

                              How I didn't hear about this service earlier? Man, that's very useful indeed..
                              It doesn't matter how I improve my network, there is always a last mile..

                              dead on arrival, nowhere to be found.

                              J 1 Reply Last reply May 20, 2021, 7:17 PM Reply Quote 0
                              • J
                                johnpoz LAYER 8 Global Moderator @mcury
                                last edited by johnpoz May 20, 2021, 7:18 PM May 20, 2021, 7:17 PM

                                You can also setup status pages that your users can access and see if a service is up or down

                                🔒 Log in to view

                                They use to allow for custom urls on that - but that became a pro only feature - but non custom url still works for your users.

                                Another one you might look into - also free is uptimerobot

                                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

                                M 1 Reply Last reply May 20, 2021, 7:21 PM Reply Quote 0
                                • M
                                  mcury @johnpoz
                                  last edited by May 20, 2021, 7:21 PM

                                  Based on your rules showed in a previous topic (no ICMP just plex port), they keep sending TCP SYN to the port configured to confirm if its opened.. Even better because if the WAN remains UP but the service goes down, they will track and keep a history of it..

                                  dead on arrival, nowhere to be found.

                                  J 1 Reply Last reply May 20, 2021, 7:21 PM Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator @mcury
                                    last edited by johnpoz May 20, 2021, 7:25 PM May 20, 2021, 7:21 PM

                                    Exactly - I have another test, that home that just pings my IP to see if my internet is up. But the tcp test tells me if plex went down, but my internet is still up.

                                    More often than not its actual internet that goes down - but plex now and then does hang or crash, etc.

                                    Or maybe I dicked with the rules and messed up remote access to plex, etc. Its great to have both tests internet, and then specific service.

                                    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

                                    M 1 Reply Last reply May 20, 2021, 7:25 PM Reply Quote 0
                                    • M
                                      mcury @johnpoz
                                      last edited by May 20, 2021, 7:25 PM

                                      That is useful to me as well, here where I live the Internet goes down everyday.. I'm not sure if its cabling here inside the building or if it's the ISP itself, I don't hear other users complaining so much as I do..

                                      More often than not its actual internet that goes down - but plex now and then does hang or crash, etc.

                                      A very fast troubleshooting that you could do through your phone

                                      Or maybe I dicked with the rules and messed up remote access to plex, etc. Its great to have both tests internet, and then specific service.

                                      Who never did it? :)

                                      dead on arrival, nowhere to be found.

                                      J 1 Reply Last reply May 20, 2021, 7:27 PM Reply Quote 0
                                      • J
                                        johnpoz LAYER 8 Global Moderator @mcury
                                        last edited by May 20, 2021, 7:27 PM

                                        @mcury said in Plex not working outside the network:

                                        Who never did it? :)

                                        Exactly ;) hehehe - so its good to know very quickly if plex is no longer available when you might be playing with rules, etc.

                                        And yeah you can see pretty easy right on your phone if total internet is down, or just something wrong with plex.. Great service - and very usable even at the free level.

                                        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
                                          iampowerslave
                                          last edited by May 21, 2021, 3:27 PM

                                          @johnpoz Is it OK to just NAT stuff out? I have had my share of opening ports. Unless you are using another obvious anti scan tool, snort, etc, you'll get traffic from anywhere straight to your NAS for it to handle, how do you secure that?

                                          Instead of doing that I just VPN in.

                                          J 1 Reply Last reply May 21, 2021, 5:20 PM Reply Quote 0
                                          1 out of 26
                                          • First post
                                            1/26
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.