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

    need help with pfblocker

    Scheduled Pinned Locked Moved pfBlockerNG
    15 Posts 4 Posters 1.6k 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.
    • C
      catalinn.stanciu
      last edited by

      Hello,

      I use pfblocker geoip to block Russia and China but i want to be able to access mail.ru.
      Is there a way i can do this? whitelist mail.ru dommain?
      I can add a rule in fw to allow trafic to mail.ru but after pfblocker rule reload, pfB_Top_v4 goes on top of my rules and the traffic is blocked again.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • emammadovE
        emammadov
        last edited by emammadov

        Hello,
        I had the same problem. I used Alias Native in pfblockerng.

        1. Choose "Alias Native" in Action in pfBlockerng
        2. Copy the name of the newly created Alias name in Firewall / Aliases / URLs
        3. Create a new firewall rule in Firewall / Rules / WAN
          in the source address paste the copied alias names and save
        4. Put the mail.ru ip address in the top of these rules.

        Elvin

        1 Reply Last reply Reply Quote 1
        • C
          catalinn.stanciu
          last edited by

          Hello!

          Thank you for the quick replay!
          I cant find the "Action" or "Alias Native" in bfblockerng. Where are those, more exacly, please?

          Thank you!

          1 Reply Last reply Reply Quote 0
          • emammadovE
            emammadov
            last edited by

            @catalinn-stanciu said in need help with pfblocker:

            bfblockerng

            I am using pfBlockerNG-devel. What pfblockerng are you using?

            Elvin

            1 Reply Last reply Reply Quote 0
            • C
              catalinn.stanciu
              last edited by

              pfBlockerNG v2.1.4_16

              1 Reply Last reply Reply Quote 0
              • emammadovE
                emammadov
                last edited by

                Alias Native is located in the bottom of page where you have selected Russia and China.

                Elvin

                1 Reply Last reply Reply Quote 0
                • C
                  catalinn.stanciu
                  last edited by

                  I found the Alias, made and apply the rulles using them...all worked perfect until next rule update/reload.

                  After update/reload, the rules i made in Firewall/Rules/WAN using the Alias get deleted or something like that. I dont see them in Firewall/Rules/WAN anymore...

                  Any fix for that? :D

                  RonpfSR 1 Reply Last reply Reply Quote 0
                  • emammadovE
                    emammadov
                    last edited by

                    Could you show screenshots?

                    Elvin

                    1 Reply Last reply Reply Quote 1
                    • RonpfSR
                      RonpfS @catalinn.stanciu
                      last edited by RonpfS

                      @catalinn-stanciu said in need help with pfblocker:

                      I found the Alias, made and apply the rulles using them...all worked perfect until next rule update/reload.

                      When you click on the it brings you some information about pfBlockerNG 's features :

                      0_1549343989293_Screenshot_2019-02-05 pf100se ici - Firewall pfBlockerNG IP IPv4.png

                      0_1549345768482_Screenshot_2019-02-05 pf100se ici - Firewall pfBlockerNG IP IPv4 (2).png

                      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 1
                      • C
                        catalinn.stanciu
                        last edited by

                        It worked.

                        Im not sure what i did different from yesterday but it worked (i think).
                        It updates and i can restart/reload rules without losing the rules i created.

                        Thank you guys! U were great!

                        BBcan177B 1 Reply Last reply Reply Quote 0
                        • BBcan177B
                          BBcan177 Moderator @catalinn.stanciu
                          last edited by

                          @catalinn-stanciu
                          I believe that you had initially used "pfB_" in the rule description for these Alias type (manual) firewall rules. For Alias types, you should prefix the rule description with "pfb_" (lowercase) which will also allow the widget to report on the statistics for these manually created firewall rules.

                          "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/

                          C 1 Reply Last reply Reply Quote 1
                          • C
                            catalinn.stanciu @BBcan177
                            last edited by

                            @bbcan177
                            It is very likely that i used "pfB_" in the rule description.
                            Thank you very much for the help and for the package :)

                            BBcan177B 1 Reply Last reply Reply Quote 0
                            • BBcan177B
                              BBcan177 Moderator @catalinn.stanciu
                              last edited by

                              @catalinn-stanciu said in need help with pfblocker:

                              Thank you very much for the help and for the package :)

                              Thanks for the feedback... NP glad to help!

                              "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
                              • emammadovE
                                emammadov
                                last edited by

                                Glad to hear that your problem is solved.

                                Elvin

                                C 1 Reply Last reply Reply Quote 1
                                • C
                                  catalinn.stanciu @emammadov
                                  last edited by

                                  @emammadov thank you!

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