Skip to content

Commit 4442b88

Browse files
committed
screenshot removal
1 parent 914f0f2 commit 4442b88

File tree

3 files changed

+13
-19
lines changed

3 files changed

+13
-19
lines changed

articles/load-balancer/manage-inbound-nat-rules.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mbender-ms
55
ms.author: mbender
66
ms.service: azure-load-balancer
77
ms.topic: how-to
8-
ms.date: 06/26/2024
8+
ms.date: 12/06/2024
99
ms.custom: template-how-to, devx-track-azurepowershell, devx-track-azurecli,engagement-fy23
1010
---
1111

@@ -15,9 +15,9 @@ An inbound NAT rule is used to forward traffic from a load balancer frontend to
1515

1616
There are two types of inbound NAT rule:
1717

18-
* Inbound NAT rule V1 for VMs - Targets a single machine in the backend pool of the load balancer
18+
- **Inbound NAT rule V1 for virtual machines**: Targets a single machine in the backend pool of the load balancer.
1919

20-
* Inbound NAT rule V2 for VMs and VMSS- Targets multiple virtual machines in the backend pool of the load balancer
20+
- **Inbound NAT rule V2 for virtual machines and virtual machine scale sets**: Targets multiple virtual machines in the backend pool of the load balancer.
2121

2222
In this article, you learn how to add and remove an inbound NAT rule for both types. You learn how to change the frontend port allocation in a multiple instance inbound NAT rule. You can choose from the Azure portal, PowerShell, or CLI examples.
2323

@@ -30,7 +30,7 @@ In this article, you learn how to add and remove an inbound NAT rule for both ty
3030
[!INCLUDE [azure-cli-prepare-your-environment.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
3131

3232

33-
## Inbound NAT rule V1 for VMs
33+
## Inbound NAT rule V1 for virtual machines
3434

3535
Choose this option to configure a rule for a single VM. Select Azure portal, PowerShell, or CLI for instructions.
3636

@@ -48,8 +48,6 @@ In this example, you create an inbound NAT rule to forward port **500** to backe
4848

4949
5. Select **+ Add** in **Inbound NAT rules** to add the rule.
5050

51-
:::image type="content" source="./media/manage-inbound-nat-rules/add-rule.png" alt-text="Screenshot of the inbound NAT rules page for Azure Load Balancer":::
52-
5351
6. Enter or select the following information in **Add inbound NAT rule**.
5452

5553
| Setting | Value |
@@ -66,27 +64,23 @@ In this example, you create an inbound NAT rule to forward port **500** to backe
6664

6765
7. Leave the rest of the settings at the defaults and select **Add**.
6866

69-
:::image type="content" source="./media/manage-inbound-nat-rules/add-single-instance-rule.png" alt-text="Screenshot of the create inbound NAT rule page":::
70-
7167
# [**PowerShell**](#tab/inbound-nat-rule-powershell)
7268

73-
Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
69+
In this example, you create an inbound NAT rule to forward port **500** to backend port **443**.
7470

75-
Use [Add-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/add-azloadbalancerinboundnatruleconfig) to create the inbound NAT rule.
71+
- Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
7672

77-
To save the configuration to the load balancer, use [Set-AzLoadBalancer](/powershell/module/az.network/set-azloadbalancer).
73+
- Use [Add-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/add-azloadbalancerinboundnatruleconfig) to create the inbound NAT rule.
74+
- To save the configuration to the load balancer, use [Set-AzLoadBalancer](/powershell/module/az.network/set-azloadbalancer).
7875

79-
Use [Get-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/get-azloadbalancerinboundnatruleconfig) to place the newly created inbound NAT rule information into a variable.
76+
- Use [Get-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/get-azloadbalancerinboundnatruleconfig) to place the newly created inbound NAT rule information into a variable.
8077

81-
Use [Get-AzNetworkInterface](/powershell/module/az.network/get-aznetworkinterface) to place the network interface information into a variable.
78+
- Use [Get-AzNetworkInterface](/powershell/module/az.network/get-aznetworkinterface) to place the network interface information into a variable.
8279

83-
Use [Set-AzNetworkInterfaceIpConfig](/powershell/module/az.network/set-aznetworkinterfaceipconfig) to add the newly created inbound NAT rule to the IP configuration of the network interface.
80+
- Use [Set-AzNetworkInterfaceIpConfig](/powershell/module/az.network/set-aznetworkinterfaceipconfig) to add the newly created inbound NAT rule to the IP configuration of the network interface.
8481

8582
To save the configuration to the network interface, use [Set-AzNetworkInterface](/powershell/module/az.network/set-aznetworkinterface).
8683

87-
88-
89-
9084
```azurepowershell
9185
## Place the load balancer information into a variable for later use. ##
9286
$slb = @{
@@ -140,9 +134,9 @@ $NIC | Set-AzNetworkInterface
140134

141135
In this example, you will create an inbound NAT rule to forward port **500** to backend port **443**. You will then attach the inbound NAT rule to a VM's NIC
142136

143-
Use [az network lb inbound-nat-rule create](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-create) to create the NAT rule.
137+
- Use [az network lb inbound-nat-rule create](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-create) to create the NAT rule.
144138

145-
Use [az network nic ip-config inbound-nat-rule add](/cli/azure/network/nic/ip-config/inbound-nat-rule) to add the inbound NAT rule to a VM's NIC
139+
- Use [az network nic ip-config inbound-nat-rule add](/cli/azure/network/nic/ip-config/inbound-nat-rule) to add the inbound NAT rule to a VM's NIC
146140

147141

148142
```azurecli
Binary file not shown.

0 commit comments

Comments
 (0)