Configure Network-layer DDoS Attack Protection in the dashboard
You can customize the action and sensitivity of the rules in the Network-layer DDoS Attack Protection managed ruleset in the following ways:
You define overrides for the Network-layer DDoS Attack Protection managed ruleset at the account level. Tag and rule overrides have greater priority than ruleset overrides.
For more information on the available parameters and allowed values, refer to Ruleset parameters.
Override all the rules in the ruleset
- Log in to the Cloudflare dashboard and select your account.
- In the account home page, open L3/4 DDoS and go to Network-layer DDoS Protection.
- Select Deploy a DDoS override.
- In Set scope, specify if you wish to apply the override to all incoming packets or to a subset of the packets.
- If you are creating an override for a subset of the incoming packets, define the custom expression that matches the incoming packets you wish to target in the override, using either the Rule Builder or the Expression Editor.
- Select Next, and then select Next again.
- Enter a name for your override in Rule description.
- To always apply a given action for all the rules in the ruleset, select an action in Ruleset action.
- To set the sensitivity level for all the rules in the ruleset, select a value in Ruleset sensitivity.
- To save and deploy the override, select Deploy. If you are not ready to deploy your override, select Save as Draft.
Override one or more rules
Log in to the Cloudflare dashboard and select your account.
In the account home page, open L3/4 DDoS and go to Network-layer DDoS Protection.
Select Deploy a DDoS override.
In Set scope, specify if you wish to apply the override to all incoming packets or to a subset of the packets.
If you are creating an override for a subset of the incoming packets, define the custom expression that matches the incoming packets you wish to target in the override, using either the Rule Builder or the Expression Editor.
Select Next.
Search for the rules you wish to override using the available filters. You can search for tags.
To override a single rule, select the desired value for a field in the displayed dropdowns next to the rule.
To configure more than one rule, select the rules using the row checkboxes and update the fields for the selected rules using the dropdowns displayed before the table. You can also configure all the rules with a given tag. For more information, refer to Configure rules in bulk in a managed ruleset.
Select Next.
Enter a name for your override in Rule description.
To save and deploy the override, select Deploy. If you are not ready to deploy your override, select Save as Draft.