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
@@ -22,6 +22,8 @@ By default, your web application is accessible from the internet. If you want to
22
22
23
23
## Configure a WAF policy with the Azure portal
24
24
25
+
#### [Portal](#tab/browser)
26
+
25
27
Follow these steps to configure a WAF policy by using the Azure portal.
26
28
27
29
### Prerequisites
@@ -86,6 +88,8 @@ Create an Azure Front Door profile by following the instructions described in [Q
86
88
> [!NOTE]
87
89
> A private IP address was intentionally used in the custom rule to guarantee the rule would trigger. In an actual deployment, create *allow* and *deny* rules by using IP addresses for your particular situation.
88
90
91
+
#### [CLI](#tab/azure-devops-cli)
92
+
89
93
## Configure a WAF policy with the Azure CLI
90
94
91
95
Follow these steps to configure a WAF policy by using the Azure CLI.
@@ -173,6 +177,8 @@ In this example, the WAF policy is applied to `FrontendEndpoints[0]`. You can li
173
177
> [!Note]
174
178
> You need to set the `WebApplicationFirewallPolicyLink` property only once to link a WAF policy to an Azure Front Door front end. Subsequent policy updates are automatically applied to the front end.
175
179
180
+
#### [Azure PowerShell](#tab/powershell)
181
+
176
182
## Configure a WAF policy with Azure PowerShell
177
183
178
184
Follow these steps to configure a WAF policy by using Azure PowerShell.
@@ -257,9 +263,13 @@ Link a WAF policy object to an existing front-end host and update Azure Front Do
257
263
> [!NOTE]
258
264
> In this example, the WAF policy is applied to `FrontendEndpoints[0]`. You can link a WAF policy to any of your front ends. You need to set the `WebApplicationFirewallPolicyLink` property only once to link a WAF policy to an Azure Front Door front end. Subsequent policy updates are automatically applied to the front end.
259
265
266
+
#### [Template](#tab/yaml)
267
+
260
268
## Configure a WAF policy with a Resource Manager template
261
269
To view the template that creates an Azure Front Door policy and a WAF policy with custom IP restriction rules, go to [GitHub](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/front-door-waf-clientip).
262
270
271
+
---
272
+
263
273
## Next steps
264
274
265
275
Learn how to [create an Azure Front Door profile](../../frontdoor/quickstart-create-front-door.md).
0 commit comments