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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 211 Posters 2.0m 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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      @Ip:

      @BBcan177:

      @Ip:

      The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

      Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

      Well, the alias name is kind of personal  ;). Contains one space but no "pfBlocker" or "pfB_". List action is "Deny Both".

      Its probably not going to create the alias if its just a "single space" as the Alias name… Give it a proper name and it should be fine. It can't contain and special or International characters.

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      1 Reply Last reply Reply Quote 0
      • I
        Ip Man
        last edited by

        @BBcan177:

        @Ip:

        @BBcan177:

        @Ip:

        The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

        Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

        Well, the alias name is kind of personal  ;). Contains one space but no "pfBlocker" or "pfB_". List action is "Deny Both".

        Its probably not going to create the alias if its just a "single space" as the Alias name… Give it a proper name and it should be fine. It can't contain and special or International characters.

        I renamed it abc123 and now it appears as pfB_abc123 on my dashboard. Thanks!

        1 Reply Last reply Reply Quote 0
        • P
          pfcode
          last edited by

          Is spam404, one of the DNSBL feeds, gone?

          Release: pfSense 2.4.3(amd64)
          M/B: Supermicro A1SRi-2558F
          HDD: Intel X25-M 160G
          RAM: 2x8Gb Kingston ECC ValueRAM
          AP: Netgear R7000 (XWRT), Unifi AC Pro

          1 Reply Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator
            last edited by

            @pfcode:

            Is spam404, one of the DNSBL feeds, gone?

            Would have been best to post this in pfBNG v2.0 thread:

            Looks like they moved the Spam404 feed to Github:
            https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt

            "Experience is something you don't get until just after you need it."

            Website: http://pfBlockerNG.com
            Twitter: @BBcan177  #pfBlockerNG
            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

            1 Reply Last reply Reply Quote 0
            • P
              pfcode
              last edited by

              @BBcan177:

              @pfcode:

              Is spam404, one of the DNSBL feeds, gone?

              Would have been best to post this in pfBNG v2.0 thread:

              Oops, sorry.

              Release: pfSense 2.4.3(amd64)
              M/B: Supermicro A1SRi-2558F
              HDD: Intel X25-M 160G
              RAM: 2x8Gb Kingston ECC ValueRAM
              AP: Netgear R7000 (XWRT), Unifi AC Pro

              1 Reply Last reply Reply Quote 0
              • C
                CIURI
                last edited by

                Hello ,

                is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

                1 Reply Last reply Reply Quote 0
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  @CIURI:

                  Hello ,

                  is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

                  Sure I can add that to the next release… I will also be adding "Adv. Outbound" settings with other additional options...

                  Here is a screenshot of what to expect:
                  http://i.imgur.com/XWqznm2.png

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator
                    last edited by

                    @BBcan177:

                    @CIURI:

                    Hello ,

                    is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

                    Sure I can add that to the next release… I will also be adding "Adv. Outbound" settings with other additional options...

                    Here is a screenshot of what to expect:
                    http://i.imgur.com/XWqznm2.png

                    Hi CIURI,

                    I don't think there is an option to use "!" negate a Ports Alias in pfSense… You can edit an existing pfBNG Rule and see if you see it any different?

                    "Experience is something you don't get until just after you need it."

                    Website: http://pfBlockerNG.com
                    Twitter: @BBcan177  #pfBlockerNG
                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                    1 Reply Last reply Reply Quote 0
                    • P
                      pfsenseboonie
                      last edited by

                      Hi all,

                      I find my dropbox syncing is blocked.

                      In logs I see

                      IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                      How should I proceed to get dropbox working again.

                      Thanks.

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

                        @pfsenseboonie:

                        Hi all,

                        I find my dropbox syncing is blocked.

                        In logs I see

                        IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                        How should I proceed to get dropbox working again.

                        Thanks.


                        You need to create a Permit Outbound pass rule for the IP of you seedbox
                        or get an IP outside that range from your provider.

                        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
                        • P
                          pfsenseboonie
                          last edited by

                          @RonpfS:

                          @pfsenseboonie:

                          Hi all,

                          I find my dropbox syncing is blocked.

                          In logs I see

                          IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                          How should I proceed to get dropbox working again.

                          Thanks.


                          You need to create a Permit Outbound pass rule for the IP of you seedbox
                          or get an IP outside that range from your provider.

                          Just to be clear when I say dropbox I mean as in Dropbox the company
                          Their client desktop app is trying to connect out to 162.125.17.0/24 and 162.125.32.0/24

                          I've enabled suppression and manually added both above networks to pfBlockerNGSuppress Alias.  And then "reloaded"

                          What I do not understand is your reference to a seedbox.  I am not sure if I have one of those or not … and yes I feel silly saying this.
                          How/Where do I create this Permit outbound pass rule.  And how does pfBlockerNGSuppress tie in?

                          I went ahead and creating a pass outbound in floating rules and moved it to the very top of the list.  I am not sure if this is what you meant or if it is correct.

                          floating.png
                          floating.png_thumb

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

                            Seedbox … Dropbox, whatever rock you boat  :P

                            Did you read the section in the picture.

                            It tell you NOT to use pfBlockerNGSuppress Alias in FW rules  :o
                            It tell you that suppression ONLY work for /32 or /24 networks.
                            IBlock_BT_Hijack specify 162.125.0.0/16, so the "+" icon is not available in the Alerts Tab,
                            Putting  162.125.17.0/24 and 162.125.32.0/24 in pfBlockerNGSuppress  is useless.

                            So move the 2 networks to a new alias pfBlockerWhiteList
                            Create a FW rule on LAN pass pfBlockerWhiteList
                            or on the floating tab selecting all LANs interfaces

                            pfBlockerNGWhiteList.JPG
                            pfBlockerNGWhiteList.JPG_thumb

                            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
                            • P
                              pfsenseboonie
                              last edited by

                              @RonpfS:

                              Seedbox … Dropbox, whatever rock you boat  :P

                              Did you read the section in the picture.

                              It tell you NOT to use pfBlockerNGSuppress Alias in FW rules  :o
                              It tell you that suppression ONLY work for /32 or /24 networks.
                              IBlock_BT_Hijack specify 162.125.0.0/16, so the "+" icon is not available in the Alerts Tab,
                              Putting  162.125.17.0/24 and 162.125.32.0/24 in pfBlockerNGSuppress  is useless.

                              So move the 2 networks to a new alias pfBlockerWhiteList
                              Create a FW rule on LAN pass pfBlockerWhiteList
                              or on the floating tab selecting all LANs interfaces

                              Aha! Ok I have done this now.  But I am still blocked.
                              So an extra question.
                              You said set it up as pass outbound meaning the LAN sending to internet.

                              From pfSense Point of view this is inbound right (packets flying off the network into pfsense)? So I have to re-set to direction=in?  I initially had it to direction=out and was still being blocked.

                              I will monitor and see, but you can correct me if i am worng.

                              Update
                              –-------
                              It seems the above in the case.  If I set direction=out, I can't ping dropbox network IPs.  When set to direction=in, I can.
                              Have to wait and see now if it stays connected.

                              Update 2

                              Ok I think that sloved it thanks very much Ron.  I now know how to suppress an IP blocked by pfBNG.

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User
                                last edited by

                                Whoa there pfsenseboonie, before you run off I am still confused. :o
                                Not sure if you are blocking inbound direction with PFBlockerng but that would then make sense. ??? but wrong.
                                If you are NOT running any open ports to services like a Web Server behind the firewall then you DO NOT need to block Inbound. The firewall is already by Default doing that. That would also probably explain the ping sent to Dropseed errr box whatever not getting back in to you. Really only need to block Outbound and save the firewall much needed processor resources for other tasks.
                                RonpfS was correct in telling you to allow outbound.
                                If you set only Outbound blocking and let the firewall default handle the inbound blocking it then makes sense to allow out to Dropbox so your machine will initiate the handshake with  dropbox and the firewall will allow the return response back in.
                                Outbound is LAN to WEB…....Inbound is WEB to LAN  ;)  Keep it simple.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pfsenseboonie
                                  last edited by

                                  @webtyro:

                                  Not sure if you are blocking inbound direction with PFBlockerng but that would then make sense. ??? but wrong.
                                  If you are NOT running any open ports to services like a Web Server behind the firewall then you DO NOT need to block Inbound. The firewall is already by Default doing that. That would also probably explain the ping sent to Dropseed errr box whatever not getting back in to you. Really only need to block Outbound and save the firewall much needed processor resources for other tasks.

                                  Hey there,
                                  Yes thats correct I have open ports on the wan interface, so only blocking with pfBNG on those specific ports.

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by

                                    Good. Was not sure.  ::) Late night, sleeping at the keyboard again.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rocket_raccoon
                                      last edited by

                                      @BBcan177

                                      Is it possible to add the country based easylist feeds like german easylist etc.?

                                      1 Reply Last reply Reply Quote 0
                                      • BBcan177B
                                        BBcan177 Moderator
                                        last edited by

                                        @rocket_raccoon:

                                        @BBcan177

                                        Is it possible to add the country based easylist feeds like german easylist etc.?

                                        Yes its something that I'd like to add when I find some time… :)

                                        The issue with EasyLists, is that only certain categories in the list can be used... If you can download that German Feed, and see which categories can be blocked that would be a good help... (Same applies for other Languages...)

                                        For EasyList, its only collecting 1.AdServers 2. AdServers Popup 3. Adult AdServers 4. Adult AdServer Popup categories...

                                        "Experience is something you don't get until just after you need it."

                                        Website: http://pfBlockerNG.com
                                        Twitter: @BBcan177  #pfBlockerNG
                                        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          Gradius
                                          last edited by

                                          I'm running the last 2.3 and getting a lot those errors:

                                          FreeBSD 10.3-RELEASE #5 05adf0a(RELENG_2_3_0): Mon Apr 11 18:56:05 CDT 2016     root@ce23-i386-builder:/builder/pfsense-230/tmp/obj/builder/pfsense-230/tmp/FreeBSD-src/sys/pfSense
                                          
                                          Crash report details:
                                          
                                          PHP Errors:
                                          [13-Apr-2016 14:00:00 America/Santiago] PHP Stack trace:
                                          [13-Apr-2016 14:00:00 America/Santiago] PHP   1\. {main}() /usr/local/www/pfblockerng/pfblockerng.php:0
                                          [13-Apr-2016 14:00:00 America/Santiago] PHP   2\. pfblockerng_sync_cron() /usr/local/www/pfblockerng/pfblockerng.php:94
                                          [13-Apr-2016 14:00:00 America/Santiago] PHP   3\. sync_package_pfblockerng() /usr/local/www/pfblockerng/pfblockerng.php:387
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • BBcan177B
                                            BBcan177 Moderator
                                            last edited by

                                            @Gradius:

                                            I'm running the last 2.3 and getting a lot those errors:

                                            Hi, Those errors don't point to the issue unfortunately… Could you take a look at the file  /tmp/PHP_errors.log and see if it shows any other clues?

                                            It looks like the pfBlockerNG Cron task is being called, but there is no specific error indicated? Also take a look at the pfblockerng.log file around the timestamps of these errors, and see if they report any additional clues…

                                            "Experience is something you don't get until just after you need it."

                                            Website: http://pfBlockerNG.com
                                            Twitter: @BBcan177  #pfBlockerNG
                                            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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