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

    Cannot define table bogonsv6

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 2.1k 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.
    • S
      szop
      last edited by

      Hey,

      I've tried to set up a new Open VPN rule on pfSense 2.1-BETA0 (i386) built on Tue Oct 30 10:31:30 EDT 2012 yesterday. Background: We have three OpenVPN Road Warriors and a special machine in our network which shall not be allowed to connect via VPN. So what I did:

      1. Went to Firewall rules
      2. OpenVPN
      3. Created a rule to block all traffic on OpenVPN to this machine

      After that every 10 seconds a notification popped up saying:

      php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:118: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [118]: table <bogonsv6>persist file "/etc/bogonsv6

      I've deleted this rule but the notification still went on, so I commented this line via shell and it was gone. Then I uncommented it again.

      I guess it was a wrong approach to block OpenVPN traffic to a specific IP. Can you guys help me out with that?

      Cheers,
      Szop</bogonsv6>

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Go to system advanced and increase the limits for the tables.

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

          Hey,

          thanks for the reply, but can you be a little more specific? Which one: "Firewall Maximum Tables" or "Firewall Maximum Tables Entries"? Both are blank.

          EDIT:

          I've increased the "Firewall Maximum Table Entries" to 200000 since the word count for /etc/bogonsv6 was 63301. Hope this will solve the problem.

          Cheers,
          Szop

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