Skip to content

Commit 61f5046

Browse files
Merge pull request #281829 from vhorne/fw-rule-processing
add rule processing summary
2 parents a782320 + 1766d7c commit 61f5046

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/firewall/rule-processing.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,22 @@ With Firewall Policy, rules are organized inside Rule Collections and Rule Colle
2424

2525
Rules are processed based on Rule Collection Group Priority and Rule Collection priority. Priority is any number between 100 (highest priority) to 65,000 (lowest priority). Highest priority Rule Collection Groups are processed first. Inside a rule collection group, Rule Collections with highest priority (lowest number) are processed first.
2626

27-
If a Firewall Policy is inherited from a parent policy, Rule Collection Groups in the parent policy always takes precedence regardless of the priority of a child policy.
27+
If a Firewall Policy is inherited from a parent policy, Rule Collection Groups in the parent policy always takes precedence regardless of the priority of a child policy.
28+
29+
2830

2931
> [!NOTE]
3032
> Application rules are always processed after Network rules, which are processed after DNAT rules regardless of Rule collection group or Rule collection priority and policy inheritance.
3133
34+
So, to summarize:
35+
36+
Parent policy always takes precedence.
37+
38+
1. Rule collection groups are processed in priority order.
39+
1. Rule collections are processed in priority order.
40+
1. DNAT rules, then Network rules, then Application rules are processed.
41+
42+
3243
Here's an example policy:
3344

3445
Assuming BaseRCG1 is a rule collection group priority (200) that contains the rule collections: DNATRC1, DNATRC3,NetworkRC1.\

0 commit comments

Comments
 (0)