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

    Is there a way to access the Bogons list as an Alias to use in a Firewall rule?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 450 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.
    • IsaacFLI
      IsaacFL
      last edited by

      I have a rule in my LANs to block non routable traffic and just using the Bogons and Bogons6 lists would meet my needs since it is pfsense has already downloaded the lists.

      Is there a way to actually use the Bogons(6) lists in a firewall rule?

      Annotation 2020-08-11 212940.png

      1 Reply Last reply Reply Quote 0
      • S
        serbus
        last edited by

        Hello!

        I dont think pfsense makes an alias. It looks like it is loaded directly in via pfctl. See /etc/rc.update_bogons.sh.

        However, you can make your own URL alias with https://files.pfsense.org/lists/fullbogons-ipv4.txt

        You could also copy the /etc/bogons file to a local web accessible location and then create a local URL alias like https://127.0.0.1:443/mywebfiles/bogons

        John

        Lex parsimoniae

        IsaacFLI 1 Reply Last reply Reply Quote 0
        • IsaacFLI
          IsaacFL @serbus
          last edited by

          @serbus said in Is there a way to access the Bogons list as an Alias to use in a Firewall rule?:

          Hello!

          I dont think pfsense makes an alias. It looks like it is loaded directly in via pfctl. See /etc/rc.update_bogons.sh.

          However, you can make your own URL alias with https://files.pfsense.org/lists/fullbogons-ipv4.txt

          You could also copy the /etc/bogons file to a local web accessible location and then create a local URL alias like https://127.0.0.1:443/mywebfiles/bogons

          John

          Your suggestion to download from files.pfsense.org looks like the best way for me. I disabled the "Block Bogons" on each interface, so pfSense shouldn't be downloading on its own, and then created my own URL Alias.

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