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

    Problem with DNSBL and Plex

    Scheduled Pinned Locked Moved pfBlockerNG
    6 Posts 3 Posters 1.2k 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.
    • DaReaLDeviLD
      DaReaLDeviL
      last edited by

      Hello,

      I run into some problems with setting up blocking different countries for my open ports and allowed conections. The last thing I don't get always running is plex media server. It get sometimes conected but then drops out and I have to manual reastablish the conection. Then it works for a day and then it drops out.

      Please have a look at the screenshots. I'm not an expert but trie as good as I can. The amazon servers in europe are like

      eu-west-1.compute.amazonaws.com
      eu-west-2.compute.amazonaws.com
      eu-west-3.compute.amazonaws.com

      but they get blocked by pfB_NAmerica_v4, but I have the allowed rule on top of all? Please help me to see my mistake.
      problem1.JPG
      problem1.JPG_thumb
      problem2.JPG
      problem2.JPG_thumb
      problem3.JPG
      problem3.JPG_thumb

      VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
      Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
      ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

      1 Reply Last reply Reply Quote 0
      • DaReaLDeviLD
        DaReaLDeviL
        last edited by

        I also tried this way and whitelisted the ips that get blocked and the get blocked right away

        problem4.JPG
        problem4.JPG_thumb
        problem5.JPG
        problem5.JPG_thumb

        VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
        Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
        ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

        1 Reply Last reply Reply Quote 0
        • a-a-ronA
          a-a-ron
          last edited by

          These are what I added to the "IPv4 Custom_List" under my Plex rule…

          54.246.0.0/16 #eu-west-1, EC2
          34.240.0.0/13 #eu-west-1, EC2

          You can find all the amazon subnets here, I would only add what you need at the minimum.
          https://ip-ranges.amazonaws.com/ip-ranges.json

          Now, that being said... don't block all countries, just allow the countries you want...  for instance, I only allow US connections to my media server, the above two rules are due to plex hosting on aws outside of the USA.

          Here is my rule for plex...
          https://imgur.com/a/NnLlD

          1 Reply Last reply Reply Quote 0
          • DaReaLDeviLD
            DaReaLDeviL
            last edited by

            Hello Aaron,

            thank you for the replay and the screenshots. I will test this and I will report back, many thanks.

            VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
            Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
            ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

            1 Reply Last reply Reply Quote 0
            • DaReaLDeviLD
              DaReaLDeviL
              last edited by

              So here we go, all my settings are now like you greatly suggested but:

              I'm looking in the wrong menu? I don't have the "ip4 source definition" like you?!

              And I also get only a conection if I set plex on a random port, not a sticky one. What are your settings here?

              pfblocker.JPG
              pfblocker.JPG_thumb
              plexport.JPG
              plexport.JPG_thumb

              VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
              Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
              ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

              1 Reply Last reply Reply Quote 0
              • RonpfSR
                RonpfS
                last edited by

                @DaReaLDeviL:

                So here we go, all my settings are now like you greatly suggested but:

                I'm looking in the wrong menu? I don't have the "ip4 source definition" like you?!

                He is using development version of pfBlockerNG.

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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