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

    Plex Across VLAN

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    39 Posts 3 Posters 5.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @jamcallis
      last edited by johnpoz

      @jamcallis you sure its not running some firewall? What I would do is sniff on the interface when you send traffic to your plex.. So you see the syn go out.. But you don't get the syn,ack ?

      example - here is box talking to my plex server.. The client wanting to talk to plex is on my 192.168.2/24 network, and plex is on 192.168.9/24

      syn.jpg

      See 2.12 send the syn, and the 9.10 answers back with syn,ack

      If you see syn but no syn,ack - then the problem is not related to pfsense..

      So your plex that 27.250 address is also running dns? Your 2nd rule there shows allowing dns from this tv vlan to 27.250 for dns.. If the box queries for plex.direct to your piehole running on 27.250??

      Also the states there are 0/0 for the rule to get to plex on 32400 at that 27.250 address.. That means the rule has never triggered.. Ie no traffic ever hit pfsense wanting to go there.

      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.8, 24.11

      J 1 Reply Last reply Reply Quote 0
      • J
        jamcallis @johnpoz
        last edited by

        @johnpoz The 27.250 is also running crowdsec, but it is only bouncing my web server. I have disabled it to test just in case, but the same issue persists. I had pihole serving dns for that interface in the past, but stopped as it was blocking some content service from functioning. I removed pihole from providing dns for all interfaces, but still the issue persists. I will do some sniff tests later and report back.

        I appreciate you taking the time to assist.

        johnpozJ M 2 Replies Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @jamcallis
          last edited by johnpoz

          @jamcallis said in Plex Across VLAN:

          The 27.250 is also running crowdsec,

          There is is most likely your problem - bet a pretty penny doesn't like the traffic from something other than its local network and is blocking it.

          The sniff is just a way to prove it to yourself that is not a pfsense issue.. if pfsense sends on the syn, which it did because you can see the state created.. Then clearly its not a pfsense problem and you have something after pfsense - either the traffic the never gets to 27.250 or its not answering, or its sending its answer elsewhere..

          Running a firewall security anything software on the 27.250 is where I would look to where the problem is.

          Did your rule show triggered, ie something other than 0/0? After you created it and actually sent some traffic - because that is another clue that its not pfsense problem, ie showing that it sent on the traffic, ie allowed it.

          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.8, 24.11

          J 1 Reply Last reply Reply Quote 0
          • M
            MoonKnight @jamcallis
            last edited by

            Hi,
            You have Remote Access enable or disable in your Plex Server settings?

            J 1 Reply Last reply Reply Quote 0
            • J
              jamcallis @MoonKnight
              last edited by

              @MoonKnight The server is fully accessible remotely and functions as expected. Just will not connect across vlans except via proxy.

              M 1 Reply Last reply Reply Quote 0
              • J
                jamcallis @johnpoz
                last edited by

                @johnpoz I believe you are correct, and it is outside of pfsense. From my understanding, crowdsec shouldn't interfere with that traffic (the issue also persists when disabling it) but I will investigate and report back.

                1 Reply Last reply Reply Quote 0
                • M
                  MoonKnight @jamcallis
                  last edited by

                  @jamcallis said in Plex Across VLAN:

                  @MoonKnight The server is fully accessible remotely and functions as expected. Just will not connect across vlans except via proxy.

                  That's good, may I ask. Are you using Plex Server for Windows? If so, maybe some firewall rules need to be added for different subnets (allows).

                  M J 2 Replies Last reply Reply Quote 0
                  • M
                    MoonKnight @MoonKnight
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J
                      jamcallis @MoonKnight
                      last edited by

                      @MoonKnight Plex is running in docker on a Debian 12 server.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MoonKnight @jamcallis
                        last edited by

                        @jamcallis
                        In your DNS Resolver. Do you have your VLAN interface selected under the "Network Interfaces"?

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jamcallis @MoonKnight
                          last edited by

                          @MoonKnight the DNS resolver is on all interfaces.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MoonKnight @jamcallis
                            last edited by

                            @jamcallis said in Plex Across VLAN:

                            @MoonKnight the DNS resolver is on all interfaces.

                            Could you try to add your TVLAN subnets into your passthrough rule.
                            Probably doesn't change anything, but why not try.
                            All this is very strange, even if you know have have reverted everyting back it was before you start playing around with IPv6. But maybe something settings are left over.
                            Maybe try to change Plex port from 32400 to something else and see if works then, and then change back? I don't know.

                            Here is mine:
                            1d27fa3d-9fa3-4013-a02b-70f707ca9d77-image.png

                            J johnpozJ 2 Replies Last reply Reply Quote 0
                            • J
                              jamcallis @MoonKnight
                              last edited by

                              @MoonKnight I've tried that too and it didn't change a thing. It's so annoying and it's going to be something so simple and forhead... I am determined to figure it out.

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

                                @MoonKnight did you validate what you have in your aliases is actually in the table, under diagnostic.

                                Here is what I can tell you, I run my plex on a vlan that all my other vlans can access, multiple wifi vlans, a different wired network.. And have no issues.. This is simple firewall port rule and ip, there is nothing fancy you need to access plex, the only thing that needs to be open is 32400.. And whatever IP your plex is on.. You sure you don't have something odd with your docker, docker loves to to nat.. So plex's IP wouldn't be the hosts IP, so you could have issues with what is reported by plex as its IP, and the only reason your local clients are working is discovery??

                                https://support.plex.tv/articles/206721658-using-plex-tv-resources-information-to-troubleshoot-app-connections/

                                ip.jpg

                                This is a very simple rule in pfsense dest IP, and the port 3400.. I would find it hard to believe its a pfsense issue.. when you show state being created, etc. You have something else going on.

                                You mention played with IPv6 and plex.. you sure its not reporting its IPv6.. You should really check out the above link so you can see exactly what IPs plex is reporting you can access it on.. Maybe its IPv6 and your actually using say a link-local IPv6 to access it when your on the same network?

                                notice above it shows my public IP and the different port I use 23040 externally, and my local IP plex is running on. Make sure that is showing your 10.27.27.250 and not maybe your docker IP? And that your docker is setup to access it correctly.. You can access it via local with the url I provided a few posts back.

                                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.8, 24.11

                                J M 3 Replies Last reply Reply Quote 1
                                • J
                                  jamcallis @johnpoz
                                  last edited by

                                  @johnpoz I really appreciate you taking the time to troubleshoot with me.

                                  It is absolutely something related to what you've suggested. I did rebuild my server at the same time as all this started happening...

                                  I am away for a few days but will investigate upon my return and will be sure you update what the issue ended up being.

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

                                    @jamcallis yeah no problem - have a happy holidays.. I am not going anywhere, we can pick this up when its good for you.

                                    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.8, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MoonKnight @johnpoz
                                      last edited by

                                      @johnpoz

                                      Hi, I don't have any problem running Plex server on different VLAN, been running like this for years.
                                      Probably the same setup as you have. The Aliases under table is right :)
                                      I was jus giving @jamcallis some ideas :)

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jamcallis @johnpoz
                                        last edited by

                                        @johnpoz I finally found some time to check over what you suggested.

                                        resources.JPG

                                        It shows 12 local connections, but only the first one (http://10.27.27.250:32400) works. That is also the address that the firewall rule is allowing.

                                        Do you know how to reset local connections and/or if this may be the cause of the issue?

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

                                          @jamcallis well with those 172 those scream docker to me.. Where it would of gotten that 192.168?? Where you running plex also have that address? Normally plex would use like any IP the box its running on has.

                                          As to clearing those out - not sure.. But you should be able to set your binding in your network settings of plex.. I believe it just grabs what the machine currently has for network connections. I don't run as docker, just native application on my nas. I do run other dockers on that nas, but plex doesn't see any of those Ips.

                                          set.jpg

                                          Curious what your remote access shows for its IP..

                                          this.jpg

                                          The above Ips shown in mine are my nas, it has 2 interfaces, the 9.10 and .11, and a 3rd interface via 2.5ge usb nic that is a SAN network between the nas and my PC that I use to move data between my nas and pc.. Which would never work for the rest of my network segments for accessing plex since its a network only my pc and nas have access too.

                                          Curious how plex is seeing multiple 172 networks? I would of thought it would only see your current docker IP that is plex.. Does your docker setup currently use all of those different networks? Curious how plex is seeing more than just its IP?

                                          docker.jpg

                                          My dockers only have the 1 IP assigned to them.. Wonder if those are all old? Or current for what your plex has for interfaces?

                                          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.8, 24.11

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            jamcallis @johnpoz
                                            last edited by

                                            @johnpoz I am confident those 172 address are docker. I'm not sure where the 192.168 comes from but I can see it as an ip on some interface. I believe when you configure docker to use network host, it sees all available interfaces. I have quite a few containers that depend on running in host.

                                            docker ls host.JPG
                                            docker ls host 2.JPG
                                            docker bridge 2.JPG

                                            Plex did have prefered network interface set to any. I assigned it to the 10.27.27.250 interface and restarted the container. The behavior persists.

                                            plex interface.JPG

                                            The local ip always referred to 10.27.27.250.

                                            plex remote.JPG

                                            It could be some conflict in the docker networks. I am debating rewriting the compose to use set bridge networking.

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