Aliases - pf error when adding ip/cidr

  • 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 = "{

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


  • how does your alias block look in gui?

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

  • Rebel Alliance Developer Netgate

    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.

Log in to reply