OPTIMIZE

 

OPTIMIZE=[value]

value: 2^n

0
disables all optimizations

1
created rules for the complete matrix of host groups defined by the zones, interfaces and hosts files.

2
suppresses superfluous ACCEPT rules in a policy chain that implements an ACCEPT policy.

4
causes short chains (those with less than 2 rules) to be optimized away.
不會對以下 chains 優化
    accounting chains (unless OPTIMIZE_ACCOUNTING=Yes)
    action chains (user-defined)
    'blacklst' chain
    dynamic
    forwardUPnP
    UPnP (nat table)

8

chains with identical rules to be collapsed into a single chain.

16

causes sequences of compatible rules to be combined into a single rule. (destination ports, comments)
(Multi-port Match)

 


 

OPTIMIZE_ACCOUNTING

 

OPTIMIZE_ACCOUNTING=[Yes|No]