You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Scenario Two** - Create Rate Limit Custom Rule to match all traffic except for traffic originating from the United States. Traffic will be grouped, counted and rate limited based on the GeoLocation of the Client Source IP address
58
+
**Scenario Two** - Create Rate Limit Custom Rule to match all traffic except for traffic originating from the United States. Traffic is grouped, counted, and rate limited based on the GeoLocation of the Client Source IP address
59
59
60
60
#### [Portal](#tab/browser)
61
61
62
-
1. Open an existing Application Gateway WAF Policy
63
-
1. Select Custom Rules
64
-
1. Add Custom Rule
65
-
1.Add Name for the Custom Rule
66
-
1.Select the Rate limit Rule Type radio button
67
-
1.Enter a Priority for the rule
68
-
1. Choose 1 minute for Rate limit duration
69
-
1.Enter 500 for Rate limit threshold (requests)
70
-
1. Select Geo location for Group rate limit traffic by
71
-
1. Under Conditions, choose Geo location for Match Type
72
-
1. In the Match variables section, select RemoteAddr for Match variable
73
-
1. Select the Is not radio button for operation
74
-
1. Select United States for Country/Region
75
-
1. Leave action setting to Deny traffic
76
-
1. Select Add to add the custom rule to the policy
77
-
1. Select Save to save the configuration and make the custom rule active for the WAF policy.
62
+
1. Open an existing Application Gateway WAF Policy.
63
+
1. Select **Custom Rules**.
64
+
1.Select **Add Custom Rule**.
65
+
1.Type a name for the custom rule.
66
+
1.For the **Rule type**, select **Rate limit**.
67
+
1.Type a **Priority** for the rule.
68
+
1. Choose **1 minute** for **Rate limit duration**.
69
+
1.Type **500** for **Rate limit threshold (requests)**.
70
+
1. Select **Geo location** for **Group rate limit traffic by**.
71
+
1. Under **Conditions**, choose **Geo location** for **Match type**.
72
+
1. In the **Match variables section, select **RemoteAddr** for **Match variable**.
73
+
1. Select **Is not**for **Operation**.
74
+
1. Select **United States** for **Country/Region**.
75
+
1. Leave action setting to **Deny traffic**.
76
+
1. Select **Add** to add the custom rule to the policy.
77
+
1. Select **Save** to save the configuration and make the custom rule active for the WAF policy.
0 commit comments