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

    Geo blocking not working

    Scheduled Pinned Locked Moved pfBlockerNG
    2 Posts 2 Posters 322 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.
    • I
      inline6
      last edited by inline6

      pfs 2.7.2, continuing to see messages similar to "There were error(s) loading the rules: /tmp/rules.debug:42: cannot define table pfB_PRI1_v4: Cannot allocate memory - The line in question reads [42]: table <pfB_PRI1_v4> persist file "/var/db/aliastables/pfB_PRI1_v4.txt"

      I set up blocking deny both and connected to VPN to test a port forward to a virtual WAN IP, connected a device to VPN from blocked country and geoblock didn't work. Tried several countries as well.

      Also noticed when I make NAT rule changes I have to turn pfblockerng off and then back on for it to take affect.

      EDIT: Increasing firewall maximum table entries from 400000 to 800000 (4gb instance) appears to have corrected the problem

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @inline6
        last edited by

        @inline6 Long ago the advice here was to start at 2 million if using pfBlocker. Ymmv

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

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