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

    General - Rule Order

    Scheduled Pinned Locked Moved pfBlockerNG
    2 Posts 2 Posters 924 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.
    • B
      battles
      last edited by

      I was wondering what the best rule order would be.

      pfSense Pass/Match | pfBPass/Match      | pfBBlock/Reject      | pfSense Block/Reject
      pfBPass/Match      | pfSense Pass/Match | pfBBlock/Reject      | pfSense Block/Reject
      pfBPass/Match      | pfBBlock/Reject    | pfSense Pass/Match  | pfSense Block/Reject
      pfBPass/Match      | pfBBlock/Reject    | pfSense Block/Reject | pfSense Pass/Match

      I would like to use:

      pfBPass/Match      | pfBBlock/Reject    | pfSense Pass/Match  | pfSense Block/Reject

      However, my concern in using this is the possibility of accidentally locking myself out of the server.  I
      have the:

      Firewall / Rules / LAN - Anti-Lockout Rule in place, but what I want to use seems to put that rule in
      danger.  Should I put some kind of Anti-Lockout Rule somewhere in pfBPass/Match also?

      Thanks

      pfSense 2.3.4-RELEASE-p1 (i386)
      FreeBSD 10.3-RELEASE-p19
      pfBlockerNG 2.1.2_1
      Snort Security 3.2.9.5_3
      Intel(R) Atom(TM) CPU N270 @ 1.60GHz

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        You can try to use the "Adv. In/out" rule settings to create a pfB rule. The customlist at the bottom of the alias settings can be used to add IPs. Entering "0.0.0.0/0" for "any".

        Alternatively, use "Alias type" rules and configure the pfB rules as required.

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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