Skip to content

Commit 28b712d

Browse files
authored
Merge pull request #3 from mahipdeora/mahipdeora-patch-1-1
Mahipdeora patch 1 1
2 parents 3e6ecdf + b275b78 commit 28b712d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ $lb | Set-AzLoadBalancer
102102

103103
[!INCLUDE [azure-cli-prepare-your-environment.md](~/articles/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
104104

105-
In this example, you create an inbound NAT rule to forward port **500** to backend port **443**.
105+
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
106106

107107
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.
108108

109109
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
110110

111+
111112
```azurecli
112113
az network lb inbound-nat-rule create \
113114
--backend-port 443 \
@@ -124,6 +125,7 @@ Use [az network nic ip-config inbound-nat-rule add](/cli/azure/network/nic/ip-co
124125
--ip-config-name MyIpConfig \
125126
--inbound-nat-rule MyNatRule \
126127
--lb-name myLoadBalancer
128+
127129
```
128130
---
129131

0 commit comments

Comments
 (0)