Auto change order rules



  • Version 2.3.1-RELEASE-p5 (amd64)

    My Case : we have 5 rules on LAN.

    Rules number 1 : Rules A
    Rules number 2 : Rules B
    Rules number 3 : Rules C
    Rules number 4 : Rules D
    Rules number 5 : Rules E

    but after 1-2hours Number rules auto change

    Rules number 1 : Rules C
    Rules number 2 : Rules E
    Rules number 3 : Rules A
    Rules number 4 : Rules B
    Rules number 5 : Rules D

    How to fix not change numerical order of rules.

    Thanks



  • What do you mean by "rules number"? The order they appear in the GUI, or?


  • Moderator

    Are you using pfBlockerNG?

    If yes, then you can't manually re-order the rules as each cron run will re-order them to how they are defined in the package… You can change the "Rule Order" setting in the pfBlockerNG General Tab.



  • @cmb:

    What do you mean by "rules number"? The order they appear in the GUI, or?

    yes, that is very important on "rules number".
    my ideal :
    (rules number 1)- only open connect to pfsense through port : 22 80 (default rules)
    (rules number 2)- Allow VIP (3 end-user) to fully connect.
    (rules number 3)- deny all ip lan (Facebook, youtube and media site).
    (rules number 4)- open all ip sub of lan connect internet through port 80
    (rules number 5)- open rules allow part. (details: ip of end-user )
    (rules number 6)- allow ip (10 user) only connect to list ip server our company. not connect to any site or ip.

    I using order appear in the GUI (order rules in GUI - DRAG to Order). when i save and apply that. after 1-2 hours rule's automated change.



  • @BBcan177:

    Are you using pfBlockerNG?

    If yes, then you can't manually re-order the rules as each cron run will re-order them to how they are defined in the package… You can change the "Rule Order" setting in the pfBlockerNG General Tab.

    yes, i have using pfBlockerNG.

    you have guideline of change setting in the pfBlockerNG General Tab. Please share me.

    Thank you  BBcan177.