Skip to content

Commit f361ec7

Browse files
authored
Merge pull request #313839 from duongau/firewall-freshness-review-564969-P2a
Azure Firewall P2a freshness review - metadata, cmdlet links, PS formatting
2 parents 650a691 + 53fb29c commit f361ec7

8 files changed

Lines changed: 697 additions & 547 deletions

articles/firewall/create-ip-group.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
2-
title: Create IP Groups in Azure Firewall
3-
description: IP Groups allow you to group and manage IP addresses for Azure Firewall rules.
4-
services: firewall
2+
title: Create IP Groups in Azure Firewall
3+
description: Create IP Groups to group and manage IP addresses for Azure Firewall rules.
54
author: duongau
5+
ms.author: duau
66
ms.service: azure-firewall
77
ms.topic: how-to
8-
ms.date: 10/31/2022
9-
ms.author: duau
10-
ms.custom: devx-track-azurepowershell, devx-track-azurecli
8+
ms.date: 03/28/2026
9+
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1110
ms.devlang: azurecli
1211
# Customer intent: "As a network administrator, I want to create and manage IP Groups for Azure Firewall, so that I can efficiently configure and enforce firewall rules based on grouped IP addresses."
1312
---
1413

1514
# Create IP Groups
1615

17-
IP Groups allow you to group and manage IP addresses for Azure Firewall rules. They can have a single IP address, multiple IP addresses, or one or more IP address ranges.
16+
IP Groups help you group and manage IP addresses for Azure Firewall rules. They can include a single IP address, multiple IP addresses, or one or more IP address ranges.
1817

1918
## Create an IP Group - Azure portal
2019

@@ -29,13 +28,13 @@ To create an IP Group by using the Azure portal:
2928
1. Select **Next: IP addresses**.
3029
1. Type an IP address, multiple IP addresses, or IP address ranges.
3130

32-
There are two ways to enter IP addresses:
33-
- You can manually enter them
34-
- You can import them from a file
31+
Enter IP addresses in one of two ways:
32+
- Manually enter them.
33+
- Import them from a file.
3534

36-
To import from a file, select **Import from a file**. You may either drag your file to the box or select **Browse for files**. If necessary, you can review and edit your uploaded IP addresses.
35+
To import from a file, select **Import from a file**. You can either drag your file to the box or select **Browse for files**. If necessary, you can review and edit your uploaded IP addresses.
3736

38-
When you type an IP address, the portal validates it to check for overlapping, duplicates, and formatting issues.
37+
When you type an IP address, the portal validates it to check for overlapping, duplicates, and formatting problems.
3938

4039
1. When finished, select **Review + Create**.
4140
1. Select **Create**.
@@ -49,7 +48,7 @@ $ipGroup = @{
4948
Name = 'ipGroup'
5049
ResourceGroupName = 'Test-FW-RG'
5150
Location = 'East US'
52-
IpAddress = @('10.0.0.0/24', '192.168.1.10')
51+
IpAddress = @('10.0.0.0/24', '192.168.1.10')
5352
}
5453
5554
New-AzIpGroup @ipGroup

articles/firewall/deploy-firewall-basic-portal-policy.md

Lines changed: 205 additions & 183 deletions
Large diffs are not rendered by default.

articles/firewall/deploy-multi-public-ip-powershell.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
---
22
title: Deploy Azure Firewall with multiple public IP addresses using PowerShell
3-
description: In this article, you learn how to deploy an Azure Firewall with multiple public IP addresses using the Azure PowerShell.
4-
services: firewall
3+
description: Deploy an Azure Firewall with multiple public IP addresses using Azure PowerShell.
54
author: duongau
5+
ms.author: duau
66
ms.service: azure-firewall
77
ms.topic: how-to
8-
ms.date: 10/24/2022
9-
ms.author: duau
8+
ms.date: 03/28/2026
109
ms.custom: devx-track-azurepowershell
1110
# Customer intent: "As a network administrator, I want to deploy Azure Firewall with multiple public IP addresses using PowerShell, so that I can efficiently manage incoming and outgoing network traffic while ensuring high availability and reducing port exhaustion."
1211
---
1312

14-
# Deploy an Azure Firewall with multiple public IP addresses using Azure PowerShell
13+
# Deploy an Azure Firewall with multiple public IP addresses by using Azure PowerShell
1514

1615
This feature enables the following scenarios:
1716

1817
- **DNAT** - You can translate multiple standard port instances to your backend servers. For example, if you have two public IP addresses, you can translate TCP port 3389 (RDP) for both IP addresses.
19-
- **SNAT** - Additional ports are available for outbound SNAT connections, reducing the potential for SNAT port exhaustion. Azure Firewall randomly selects the first source public IP address to use for a connection and selects another public IP after ports from the first IP have been exhausted. If you have any downstream filtering on your network, you need to allow all public IP addresses associated with your firewall. Consider using a [public IP address prefix](../virtual-network/ip-services/public-ip-address-prefix.md) to simplify this configuration.
20-
21-
Azure Firewall with multiple public IP addresses is available via the Azure portal, Azure PowerShell, Azure CLI, REST, and templates.
22-
You can deploy an Azure Firewall in a Hub VNET with up to 250 public IP addresses, however DNAT destination rules will also count toward the 250 maximum.
23-
The limit for an Azure Firewall in a VHUB deployment with Bring your own Public IP is 250 addresses and for classic VHUB deployment is 80 public IP addresses.
18+
- **SNAT** - Additional ports are available for outbound SNAT connections, reducing the potential for SNAT port exhaustion. Azure Firewall randomly selects the first source public IP address to use for a connection and selects another public IP after ports from the first IP are exhausted. If you have any downstream filtering on your network, you need to allow all public IP addresses associated with your firewall. Consider using a [public IP address prefix](../virtual-network/ip-services/public-ip-address-prefix.md) to simplify this configuration.
19+
20+
You can access Azure Firewall with multiple public IP addresses through the Azure portal, Azure PowerShell, Azure CLI, REST, and templates.
21+
You can deploy an Azure Firewall in a hub virtual network with up to 250 public IP addresses. However, DNAT destination rules also count toward the 250 maximum.
22+
The limit for an Azure Firewall in a VHUB deployment with Bring your own Public IP is 250 addresses, and for classic VHUB deployment, it's 80 public IP addresses.
2423

2524
> [!NOTE]
26-
> In scenarios with high traffic volume and throughput, it is recommended to use a [NAT Gateway](/azure/nat-gateway/nat-overview) to provide outbound connectivity. SNAT ports are dynamically allocated across all public IPs associated with NAT Gateway. To learn more see [integrate NAT Gateway with Azure Firewall](/azure/firewall/integrate-with-nat-gateway).
25+
> In scenarios with high traffic volume and throughput, use a [NAT Gateway](/azure/nat-gateway/nat-overview) to provide outbound connectivity. NAT Gateway dynamically allocates SNAT ports across all public IPs associated with it. For more information, see [integrate NAT Gateway with Azure Firewall](/azure/firewall/integrate-with-nat-gateway).
2726
2827
The following Azure PowerShell examples show how you can configure, add, and remove public IP addresses for Azure Firewall.
2928

3029
> [!IMPORTANT]
31-
> You can't remove the first ipConfiguration from the Azure Firewall public IP address configuration page. If you want to modify the IP address, you can use Azure PowerShell.
30+
> You can't remove the first IP configuration from the Azure Firewall public IP address configuration page. If you want to modify the IP address, use Azure PowerShell.
31+
3232

3333
## Create a firewall with two or more public IP addresses
3434

35-
This example creates a firewall attached to virtual network *vnet* with two public IP addresses.
35+
This example creates a firewall attached to virtual network *myVirtualNetwork* with two public IP addresses. Use [Get-AzVirtualNetwork](/powershell/module/az.network/get-azvirtualnetwork) to retrieve the existing virtual network, [New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress) to create each public IP address, and [New-AzFirewall](/powershell/module/az.network/new-azfirewall) to deploy the firewall with both IPs.
3636

3737
```azurepowershell
3838
$rgName = "resourceGroupName"
3939
4040
$vnet = Get-AzVirtualNetwork `
41-
-Name "vnet" `
41+
-Name "myVirtualNetwork" `
4242
-ResourceGroupName $rgName
4343
4444
$pip1 = New-AzPublicIpAddress `
4545
-Name "AzFwPublicIp1" `
46-
-ResourceGroupName "rg" `
46+
-ResourceGroupName $rgName `
4747
-Sku "Standard" `
4848
-Location "centralus" `
4949
-AllocationMethod Static
5050
5151
$pip2 = New-AzPublicIpAddress `
5252
-Name "AzFwPublicIp2" `
53-
-ResourceGroupName "rg" `
53+
-ResourceGroupName $rgName `
5454
-Sku "Standard" `
5555
-Location "centralus" `
5656
-AllocationMethod Static
@@ -65,7 +65,7 @@ New-AzFirewall `
6565

6666
## Add a public IP address to an existing firewall
6767

68-
In this example, the public IP address *azFwPublicIp1* is attached to the firewall.
68+
In this example, the public IP address *azFwPublicIp1* is attached to the firewall. Use [New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress) to create the new IP, [Get-AzFirewall](/powershell/module/az.network/get-azfirewall) to retrieve the existing firewall object, and [Set-AzFirewall](/powershell/module/az.network/set-azfirewall) to save the updated configuration.
6969

7070
```azurepowershell
7171
$pip = New-AzPublicIpAddress `
@@ -86,7 +86,7 @@ $azFw | Set-AzFirewall
8686

8787
## Remove a public IP address from an existing firewall
8888

89-
In this example, the public IP address *azFwPublicIp1* is detached from the firewall.
89+
In this example, the public IP address *azFwPublicIp1* is detached from the firewall. Use [Get-AzPublicIpAddress](/powershell/module/az.network/get-azpublicipaddress) to retrieve the existing IP, [Get-AzFirewall](/powershell/module/az.network/get-azfirewall) to retrieve the firewall object, and [Set-AzFirewall](/powershell/module/az.network/set-azfirewall) to save the updated configuration.
9090

9191
```azurepowershell
9292
$pip = Get-AzPublicIpAddress `
@@ -104,4 +104,4 @@ $azFw | Set-AzFirewall
104104

105105
## Next steps
106106

107-
* [Quickstart: Create an Azure Firewall with multiple public IP addresses - Resource Manager template](quick-create-multiple-ip-template.md)
107+
- [Quickstart: Create an Azure Firewall with multiple public IP addresses - Resource Manager template](quick-create-multiple-ip-template.md)

0 commit comments

Comments
 (0)