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

    Aliases - pf error when adding ip/cidr

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 4 Posters 1.7k 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.
    • J Offline
      jigpe
      last edited by

      Hi good afternoon.

      When adding ip:cidr, i received errors on pf system logs:
      php: : There were error(s) loading the rules: /tmp/rules.debug:8: syntax error /tmp/rules.debug:326: syntax error /tmp/rules.debug:356: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [8]: block = "{ 65.192.0.0/11 195.0.0.0/8 130.117.0.0/16 72.232.0.0/16 193.0.0.0/8 72.233.0.0/17 208.43.0.0/16 157.166.0.0/16 194.0.0.0/8 87.0.0.0/20 64.224.0.0/14 38.0.0.0/8 67.215.64.0/19 69.63.176.0/20 208.88.224.0/22 72.232.0.0/16 72.233.0.0/17 98.129.0.0/16 94.0.0.0

      …

      What's happening to my firewall? Do i need to reformat?

      jigp

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

        how does your alias block look in gui?

        http://ru.doc.pfsense.org

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

          How many entries were you trying to add into a single alias?  I think there was some kind of limit on how many each can have.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            The limit is somewhere around 3000 entries I think. The GUI won't let you put in nearly that many with a traditional alias.

            More details about exactly what alias settings were used and what was typed in are definitely needed to find out what is going on.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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