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
- This article requires version 2.0.28 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
47
+
42
48
---
43
49
44
50
## Create a NAT gateway
@@ -93,7 +99,7 @@ az network public-ip create \
93
99
--zone 1 2 3
94
100
```
95
101
96
-
Use [az network nat gateway create](/cli/azure/network/nat-gateway#az_network_nat_gateway_create) to create the NAT gateway.
102
+
Use [az network nat gateway create](/cli/azure/network/nat/gateway#az_network_nat_gateway_create) to create the NAT gateway.
97
103
98
104
```azurecli-interactive
99
105
az network nat gateway create \
@@ -318,7 +324,7 @@ az network nic create \
318
324
--network-security-group nsg-nva
319
325
```
320
326
321
-
Use [az vm create](/cli/azure/vm#az_vm_create) to create the virtual machine.
327
+
Use [az vm create](/cli/azure/vm#az_vm_create) to create the virtual machine. The command will generate SSH keys for the virtual machine for login. Make note of the location of the private key. The private key is needed in later steps for connecting to the virtual machine with Azure Bastion.
322
328
323
329
```azurecli-interactive
324
330
az vm create \
@@ -420,7 +426,7 @@ az network nic create \
420
426
--private-ip-address 10.0.0.10
421
427
```
422
428
423
-
Use [az vm nic add](/cli/azure/vm/nic#az_vm_nic_add) to attach the secondary network interface to the virtual machine. The command will generate SSH keys for the virtual machine for login. Make note of the location of the private key. The private key is needed in later steps for connecting to the virtual machine with Azure Bastion.
429
+
Use [az vm nic add](/cli/azure/vm/nic#az_vm_nic_add) to attach the secondary network interface to the virtual machine.
424
430
425
431
```azurecli-interactive
426
432
az vm nic add \
@@ -1433,7 +1439,7 @@ Obtain the NAT gateway public IP address for verification of the steps later in
1433
1439
1434
1440
1. Select **public-ip-nat**.
1435
1441
1436
-
1. Make note of value in **IP address**. The example used in this article is **203.0.113.79**.
1442
+
1. Make note of value in **IP address**. The example used in this article is **203.0.113.25**.
0 commit comments