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

    PfBlockerNG & Firewall Aliases

    Scheduled Pinned Locked Moved pfBlockerNG
    7 Posts 3 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
      code4u
      last edited by

      I created a Firewall Alias IP list for IP addresses that I need whitelisted. I use it in different places in pfSense. How do I use that Alias list in the pfBlockerNG's IPv4 list? (I don't want to type that list again in the "IPv4 Custom list" field.)

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

        Go to Diagnostics / Tables, select the Alias name, copy , paste in you pfblockerNG table IPv4 Custom list

        You could also use a local file. Click on the "i" infoblock when you are in the pfblockerng ipv4 table.

        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
        • C
          code4u
          last edited by

          The Firewall Alias list doesn't show up in "Diagnostics / Tables". In fact, only 1 out of my 3 Aliases lists shows up in "Diagnostics / Tables". Why is that?

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

            Got the same issue here … not all Aliases are in Tables

            But when reading
            @Diagnostics:

            Aliases become Tables when loaded into the active firewall ruleset. The contents displayed on this page reflect the current addresses inside tables used by the firewall.

            You could define a "dummy" FW rules with your alias.  ;)

            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
            • C
              code4u
              last edited by

              Maybe the "dummy" Firewall rule will work (create the table of IP addresses so that it can be copied), but I'm surprised that the pfBlockerNG module doesn't allow using already created Firewall Aliases lists. It doesn't make sense. How can we submit a feature request?

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

                There is probably some php system call available somewhere, look at the doc or open a question in General Questions or Firewalling sections of the forums.

                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
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  If you use pfSense Aliases, they are not accessible as a table unless you use the URL Table IPs option… Otherwise the IPs are stored in base64 format in the pfSense config.xml file

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