|
| 1 | +--- |
| 2 | +pcx_content_type: how-to |
| 3 | +title: Create Rate Limiting rules (beta) |
| 4 | +sidebar: |
| 5 | + label: Create Rate Limiting rules |
| 6 | + badge: |
| 7 | + text: Beta |
| 8 | +--- |
| 9 | + |
| 10 | +Rate limiting rules (beta) allow you to manage incoming traffic to your network for specific locations. |
| 11 | + |
| 12 | +This guide will teach you how to create a rule for when incoming packets match, and in cases where your rate exceeds a certain value (in packets or bits). |
| 13 | + |
| 14 | +:::note |
| 15 | +For Advanced Magic Firewall customers, rate limiting (beta) is available by request through the account team. |
| 16 | +::: |
| 17 | + |
| 18 | +## Add a rule |
| 19 | + |
| 20 | +To add a rule: |
| 21 | + |
| 22 | +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. |
| 23 | +2. On the sidebar, select **Magic Firewall** > **Rate limiting**. |
| 24 | +3. Fill out the information for your new rule: |
| 25 | + - Select the **Field**: At the moment, you can only choose a [colo name](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/magic-firewall/). |
| 26 | + - Select the **Operator**: Choose among **equals** or **is in**. |
| 27 | + - Select the **Value**. |
| 28 | +4. When you are done, select **Add new rule**. |
| 29 | + |
| 30 | +## Edit an existing rule |
| 31 | + |
| 32 | +To edit a rule: |
| 33 | + |
| 34 | +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. |
| 35 | +2. On the sidebar, select **Magic Firewall** > **Rate limiting**. |
| 36 | +3. Locate the rule you want to edit in the list and select **View**. |
| 37 | +4. Edit the rule with your changes and select **Add new rule**. |
| 38 | + |
| 39 | +## Delete an existing rule |
| 40 | + |
| 41 | +To delete an existing rule: |
| 42 | + |
| 43 | +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. |
| 44 | +2. On the sidebar, select **Magic Firewall** > **Rate limiting**. |
| 45 | +3. Locate the rule you want to delete from the list. |
| 46 | +4. From the end of the row, select **Delete**. |
| 47 | +5. Select **Delete** again to confirm deletion. |
0 commit comments