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

    How to fix a bad rule in /etc/bogons

    Scheduled Pinned Locked Moved Firewalling
    3 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.
    • E Offline
      elemgee
      last edited by

      I have repeated log errors saying:  There were error(s) loading the rules: no IP address found for 212.103.3:/29 - The line in question reads [0]: …

      That line can be found in the /etc/bogons file

      212.103.3:/29

      removing "disallow bogons" doesn't prevent this error so I was going to try to edit the file to use a full network address (212.103.3.0:/29) to see if that helps. This is on a read only filesystem so that's not possible here.

      Does anybody have any insight into what I can do to fix this?

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        No such thing there: https://files.pfsense.org/lists/fullbogons-ipv4.txt

        Anyway, run

        
        /etc/rc.update_bogons.sh 0
        
        

        to get an uncorrupted copy.

        1 Reply Last reply Reply Quote 0
        • E Offline
          elemgee
          last edited by

          Thank you. That was what I was looking for. This did the trick.

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