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

    Confusion with PFblockerNG rules and my own and system rules

    Scheduled Pinned Locked Moved pfBlockerNG
    12 Posts 2 Posters 1.0k 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.
    • zenn bijiZ
      zenn biji @johnpoz
      last edited by zenn biji

      @johnpoz Ah i see. what about floating rules?
      also, i just want PFblockerNG to create the aliases but leave the firewall rules alone. i believe i can achieve this with alias native but i cant find it anywhere. And, personally, for this specific situation, what do you recommend? should i just make it not create rules on its own? or change how PFblockerNG creates its rules

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

        Floating rules are looked at before interface rules.. Are they marked quick - this is gone over in the docs

        https://docs.netgate.com/pfsense/en/latest/firewall/firewall-rule-processing-order.html

        i just want PFblockerNG to create the aliases but leave the firewall rules alone

        Then do that, that is what I do as well.

        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

        zenn bijiZ 1 Reply Last reply Reply Quote 0
        • zenn bijiZ
          zenn biji @johnpoz
          last edited by

          @johnpoz How did you do that? according to google, it should be under GeoIP (for some reason) and its called Alias native. for me, there is nothing there
          955e505c-8ed6-4fcb-9525-c62f89a09040-image.png this is the closest thing i could find.

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

            Just don't pick any interfaces to be applied on.

            autorules.jpg

            Set your lists to just be native..

            native.jpg

            geoip.jpg

            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

            zenn bijiZ 1 Reply Last reply Reply Quote 0
            • zenn bijiZ
              zenn biji @johnpoz
              last edited by

              @johnpoz Thanks. i dont use the GeoIP section (all disabled. i have no servers that i want to expose) i assume its okay to leave it at disabled? and one last thing. lets say i add an IP to one of my blocklists. assuming that the firewall rule for it is in place, it automatically starts to work correct? thanks for your time

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

                Validate that your table gets populated, diag tables.. And then put it in a rule.. You would have to clear any existing states that might be open but sure it would start working as soon as the rules are are applied... Taking into account any preexisting states.

                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

                zenn bijiZ 2 Replies Last reply Reply Quote 0
                • zenn bijiZ
                  zenn biji @johnpoz
                  last edited by

                  @johnpoz alright. thanks man. the rules no longer interfere with my own rules. 👍

                  1 Reply Last reply Reply Quote 0
                  • zenn bijiZ
                    zenn biji @johnpoz
                    last edited by

                    @johnpoz forgive me for bothering you but even after all of those changes, (except the last one) PFblockerNG still changes the firewall rules. example :
                    Before running PFblockerNG update Screen Shot 1399-01-24 at 1.58.49 PM.png
                    after running pfblocker updateScreen Shot 1399-01-24 at 1.57.14 PM.png
                    as you can see it deleted its own rules and my rules that were based on the default pfblockerng rules.
                    i just want it to STOP. i dont want it to even look at the rules anymore

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

                      Showed you how to do that... I have zero pfblocker rules..

                      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

                      zenn bijiZ 1 Reply Last reply Reply Quote 0
                      • zenn bijiZ
                        zenn biji @johnpoz
                        last edited by

                        @lordofpc734 Oh nvm. i just had to rename the rules (changed pfB_ to pfb_) this was in some infoblock in the IPv4 page

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