Skip to content

Commit fd1e1ab

Browse files
committed
Removed screenshots & updated manage.md
1 parent 4442b88 commit fd1e1ab

File tree

7 files changed

+12
-29
lines changed

7 files changed

+12
-29
lines changed

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

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ In this example, you will create an inbound NAT rule to forward port **500** to
159159
```
160160
---
161161

162-
## Inbound NAT rule V2 for VM and VMSS
162+
## Inbound NAT rule V2 for virtual machines and virtual machine scale sets
163163
Choose this option to configure a rule with a range of ports to a backend pool of virtual machines. Select Azure portal, PowerShell, or CLI for instructions.
164164

165165
# [**Portal**](#tab/inbound-nat-rule-portal)
@@ -176,8 +176,6 @@ In this example, you create an inbound NAT rule to forward a range of ports star
176176

177177
5. Select **+ Add** in **Inbound NAT rules** to add the rule.
178178

179-
:::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":::
180-
181179
6. Enter or select the following information in **Add inbound NAT rule**.
182180

183181
| Setting | Value |
@@ -192,18 +190,15 @@ In this example, you create an inbound NAT rule to forward a range of ports star
192190
| Protocol | Select **TCP**. |
193191

194192
7. Leave the rest at the defaults and select **Add**.
195-
196-
:::image type="content" source="./media/manage-inbound-nat-rules/add-inbound-nat-rule.png" alt-text="Screenshot of the add inbound NAT rules page":::
197193

198194
# [**PowerShell**](#tab/inbound-nat-rule-powershell)
199195

200196
In this example, you create an inbound NAT rule to forward a range of ports starting at port 500 to backend port 443. The maximum number of machines in the backend pool is set by the parameter `-FrontendPortRangeEnd` with a value of **1000**. This setting limits the backend pool to **500** virtual machines.
201197

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

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

208203
```azurepowershell
209204
## Place the load balancer information into a variable for later use. ##
@@ -233,7 +228,7 @@ $lb | Set-AzLoadBalancer
233228

234229
In this example, you create an inbound NAT rule to forward a range of ports starting at port 500 to backend port 443. The maximum number of machines in the backend pool is set by the parameter `--frontend-port-range-end` with a value of **1000**. This setting limits the backend pool to **500** virtual machines.
235230

236-
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.
231+
- 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.
237232

238233
```azurecli
239234
az network lb inbound-nat-rule create \
@@ -267,21 +262,17 @@ To accommodate more virtual machines in the backend pool in a multiple instance
267262

268263
5. Select the inbound NAT rule you wish to change. In this example, it's **myInboundNATrule**.
269264

270-
:::image type="content" source="./media/manage-inbound-nat-rules/select-inbound-nat-rule.png" alt-text="Screenshot of inbound NAT rule overview.":::
271-
272265
6. In the properties of the inbound NAT rule, change the value in **Maximum number of machines in backend pool** to **1000**.
273266

274267
7. Select **Save**.
275268

276-
:::image type="content" source="./media/manage-inbound-nat-rules/change-frontend-ports.png" alt-text="Screenshot of inbound NAT rule properties page.":::
277-
278269
# [**PowerShell**](#tab/inbound-nat-rule-powershell)
279270

280271
To accommodate more virtual machines in the backend pool in a multiple instance rule, change the frontend port allocation in the inbound NAT rule. In this example, you change the parameter `-FrontendPortRangeEnd` to **1500**. This setting increases the maximum number of machines in the backend pool to **1000**.
281272

282-
Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
273+
- Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
283274

284-
To change the port allocation, use [Set-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/set-azloadbalancerinboundnatruleconfig).
275+
- To change the port allocation, use [Set-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/set-azloadbalancerinboundnatruleconfig).
285276

286277
```azurepowershell
287278
## Place the load balancer information into a variable for later use. ##
@@ -309,7 +300,7 @@ $lb | Set-AzLoadBalancerInboundNatRuleConfig @rule
309300

310301
To accommodate more virtual machines in the backend pool, change the frontend port allocation in the inbound NAT rule. In this example, you change the parameter `--frontend-port-range-end` to **1500**. This setting increases the maximum number of machines in the backend pool to **1000**
311302

312-
Use [az network lb inbound-nat-rule update](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-update) to change the frontend port allocation.
303+
- Use [az network lb inbound-nat-rule update](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-update) to change the frontend port allocation.
313304

314305
```azurecli
315306
az network lb inbound-nat-rule update \
@@ -336,12 +327,8 @@ Port mappings for the virtual machines in the backend pool can be viewed by usin
336327

337328
5. Select **myInboundNATrule** or your inbound NAT rule.
338329

339-
:::image type="content" source="./media/manage-inbound-nat-rules/view-inbound-nat-rule.png" alt-text="Screenshot of inbound NAT rule page.":::
340-
341330
6. Scroll to the **Port mapping** section of the inbound NAT rule properties page.
342331

343-
:::image type="content" source="./media/manage-inbound-nat-rules/view-port-mappings.png" alt-text="Screenshot of inbound NAT rule port mappings.":::
344-
345332
## Remove an inbound NAT rule
346333

347334
# [**Portal**](#tab/inbound-nat-rule-portal)
@@ -360,17 +347,13 @@ In this example, you remove an inbound NAT rule.
360347

361348
6. Select **Delete**.
362349

363-
:::image type="content" source="./media/manage-inbound-nat-rules/remove-inbound-nat-rule.png" alt-text="Screenshot of inbound NAT rule removal.":::
364-
365350
# [**PowerShell**](#tab/inbound-nat-rule-powershell)
366351

367352
In this example, you remove an inbound NAT rule.
368353

369-
Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
370-
371-
To remove the inbound NAT rule, use [Remove-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/remove-azloadbalancerinboundnatruleconfig).
372-
373-
To save the configuration to the load balancer, use [Set-AzLoadBalancer](/powershell/module/az.network/set-azloadbalancer).
354+
- Use [Get-AzLoadBalancer](/powershell/module/az.network/get-azloadbalancer) to place the load balancer information into a variable.
355+
- To remove the inbound NAT rule, use [Remove-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/remove-azloadbalancerinboundnatruleconfig).
356+
- To save the configuration to the load balancer, use [Set-AzLoadBalancer](/powershell/module/az.network/set-azloadbalancer).
374357

375358
```azurepowershell
376359
## Place the load balancer information into a variable for later use. ##
@@ -391,7 +374,7 @@ $lb | Set-AzLoadBalancer
391374

392375
In this example, you remove an inbound NAT rule.
393376

394-
Use [az network lb inbound-nat-rule delete](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-delete) to remove the rule.
377+
- Use [az network lb inbound-nat-rule delete](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-delete) to remove the rule.
395378

396379
```azurecli
397380
az network lb inbound-nat-rule delete \
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)