All Products
Search
Document Center

Cloud Firewall:Configure strict and loose engine modes

Last Updated:Apr 01, 2026

After you configure an access control policy, Cloud Firewall matches traffic against the 4-tuple, application type, and domain name in sequence. If Cloud Firewall cannot identify the application type or domain name of traffic, it allows the traffic by default to ensure service continuity. To prevent this, you can enable strict mode.

How Cloud Firewall matches traffic

After you configure an access control policy, Cloud Firewall inspects traffic by matching each packet against the 4-tuple (source address, destination address, destination port, and transport layer protocol), application type, or domain name.

  • Loose mode: If Cloud Firewall cannot identify a packet's application type or domain name, it allows the traffic by default when evaluating policies based on those criteria.

    • An access control policy is configured with an application type other than ANY.

    • A domain name is configured, and the domain name matching mode is set to FQDN-based Dynamic Resolution (Extract Host and SNI Fields) or FQDN and DNS-based Dynamic Resolution.

  • Strict mode: Cloud Firewall does not automatically allow traffic with an unidentified application type or domain name. Instead, it continues to evaluate the traffic against the next policy in priority order. If a match is found, Cloud Firewall applies the policy's action (allow or deny). If the traffic does not match any access control policy after all policies are evaluated, Cloud Firewall allows the traffic by default.

Important
  • If Cloud Firewall incorrectly drops legitimate traffic after you enable strict mode, add the necessary application protocol information to the request packets or switch back to loose mode.

  • For new VPC firewalls, strict mode is enabled by default.

Enable or disable strict mode

You can configure the access control engine mode for the Internet firewall and NAT firewalls. By default, the engine mode is set to Loose Mode. In this mode, Cloud Firewall allows traffic with an unidentified application type or domain name to prevent service disruptions. You can switch to Strict Mode as needed.

FAQ

How to view unidentified traffic logs

  1. Log on to the Cloud Firewall console.

  2. In the left-side navigation pane, choose Detection & Response > Log Audit.

  3. On the Traffic Logs > Internet Border tab, set Rule Source to Access Control. In the All Pre-match Access Control Policy Statuses search box, select Application Unidentified or Domain Name Unidentified to find the relevant logs.

    image.png

  4. Review the traffic logs for details such as the time, source IP address, destination IP address, and destination port.

Related documentation