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
Copy file name to clipboardExpand all lines: articles/load-balancer/configure-inbound-NAT-rules-vm-scale-set.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.custom: template-how-to
13
13
14
14
In this article you'll learn how to configure, update, and delete inbound NAT Rules for Virtual Machine Scale Set instances. Azure offers two options for Inbound NAT rules. The first option is the ability to add a single inbound NAT rule to a single backend resource. The second option is the ability to create a group of inbound NAT rules for a backend pool. Additional information on the various options is provided [here](inbound-nat-rules.md). It's recommended to use the second option for inbound NAT rules when using Virtual Machine Scale Sets, since this option provides better flexibility and scalability.
15
15
16
-
[Add your introductory paragraph]
16
+
17
17
18
18
<!-- 3. Prerequisites
19
19
Optional. If you need prerequisites, make them your first H2 in a how-to guide.
@@ -33,7 +33,7 @@ Individual inbound NAT rules can't be added to a Virtual Machine Scale Set. Howe
33
33
34
34
To add a whole set of inbound NAT rules for the Virtual Machine Scale Sets, first create an inbound NAT rule in the load balancer that targets a backend pool.
35
35
36
-
The new inbound NAT rule shouldn't have an overlapping front-end port range with existing inbound NAT rules. To view existing inbound NAT rules that are set up, use this [CLI command](/cli/azure/network/lb/inbound-nat-rule?view=azure-cli-latest):
36
+
The new inbound NAT rule shouldn't have an overlapping front-end port range with existing inbound NAT rules. To view existing inbound NAT rules that are set up, use this [CLI command](/cli/azure/network/lb/inbound-nat-rule):
37
37
38
38
```azurecli
39
39
@@ -53,13 +53,16 @@ The new inbound NAT rule shouldn't have an overlapping front-end port range with
53
53
## Update inbound NAT rules
54
54
When using inbound NAT rules with Virtual Machine Scale Sets, Individual inbound NAT rules can't be updated. However, you can update a set of inbound NAT rules that target a backend pool.
55
55
56
+
```azurecli
57
+
56
58
az network lb inbound-nat-rule update
57
59
-g MyResourceGroup
58
60
--lb-name MyLb
59
61
-n MyNatPool
60
62
--frontend-port-range-start 150
61
63
--frontend-port-range-end 250
62
64
65
+
```
63
66
## Delete inbound NAT rules
64
67
65
68
When using inbound NAT rules with Virtual Machine Scale Sets, Individual inbound NAT rules can't be deleted. However, you can delete the entire set of inbound NAT rules by deleting the inbound NAT rule that targets a specific backend pool.
0 commit comments