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
Use [Add-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/add-azvirtualnetworksubnetconfig) to create a subnet for Azure Firewall and Azure Bastion.
150
150
151
151
```azurepowershell
152
+
# Create default subnet
153
+
$subnetParams = @{
154
+
Name = 'default'
155
+
AddressPrefix = '10.0.0.0/24'
156
+
VirtualNetwork = $hubVnet
157
+
}
158
+
Add-AzVirtualNetworkSubnetConfig @subnetParams
159
+
152
160
# Create subnet for Azure Firewall
153
161
$subnetParams = @{
154
162
Name = 'AzureFirewallSubnet'
@@ -582,7 +590,7 @@ A virtual network peering is used to connect the hub to the spoke and the spoke
582
590
|**Local virtual network summary**||
583
591
| Peering link name | Enter **vnet-hub-to-vnet-spoke**. |
584
592
|**Local virtual network peering settings**||
585
-
| Allow 'vnet-hub' to access 'vnet-spoke-2' | Leave the default of **Selected**. |
593
+
| Allow 'vnet-hub' to access 'vnet-spoke' | Leave the default of **Selected**. |
586
594
| Allow 'vnet-hub' to receive forwarded traffic from 'vnet-spoke' | Select the checkbox. |
587
595
| Allow gateway or route server in 'vnet-hub' to forward traffic to 'vnet-spoke' | Leave the default of **Unselected**. |
588
596
| Enable 'vnet-hub' to use 'vnet-spoke's' remote gateway or route server | Leave the default of **Unselected**. |
@@ -917,8 +925,8 @@ Use [New-AzFirewallPolicyFilterRuleCollection](/powershell/module/az.network/new
0 commit comments