When you create a hierarchical firewall policy, a global network firewall policy, or a regional network firewall policy, Cloud NGFW adds predefined rules to the policy. The predefined rules that Cloud NGFW adds to the policy depend on how you create the policy.
Types of predefined rules
If you create a firewall policy using the Cloud de Confiance console, Cloud NGFW adds the following rules to the new policy:
- Goto-next rules for private IPv4 ranges
- Predefined geolocation deny rules
- Lowest possible priority goto-next rules
If you create a firewall policy using the Google Cloud CLI or the API, Cloud NGFW adds only the lowest possible priority goto-next rules to the policy.
All predefined rules in a new firewall policy purposefully use low priorities (large priority numbers) so you can override them by creating ingress or egress rules with higher priorities. Except for the lowest possible priority goto-next rules, you can also customize the predefined rules.
Goto-next rules for private IPv4 ranges
An egress rule with destination IPv4 ranges
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, priority1000, andgoto_nextaction.An ingress rule with source IPv4 ranges
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, priority1001, andgoto_nextaction.
Predefined geolocation deny rules
- An ingress rule with source matching geolocations
CU,IR,KP,SY,XC, andXD, priority1005, anddenyaction.
To learn more about geolocations, see Geolocation objects.
Lowest possible priority goto-next rules
You cannot modify or delete the following rules:
An egress rule with destination IPv6 range
::/0, priority2147483644, andgoto_nextaction.An ingress rule with source IPv6 range
::/0, priority2147483645, andgoto_nextaction.An egress rule with destination IPv4 range
0.0.0.0/0, priority2147483646, andgoto_nextaction.An ingress rule with source IPv4 range
0.0.0.0/0, priority2147483647, andgoto_nextaction.
What's next
- Modify predefined rules. For more information, read about updating a global network firewall policy rule, updating a regional network firewall policy rule, and updating a hierarchical firewall policy rule.
- Add your own rules. For more information, see Create a global network firewall policy, Create a regional network firewall policy, and Create a firewall policy.