Skip to content

Commit 4d985b5

Browse files
Merge pull request #226908 from AbdullahBell/nat-gateway-freshness-portal
NAT Gateway: Freshness: Quickstart: Create a NAT gateway using the Azure portal
2 parents 1dfcb1d + f7f40ac commit 4d985b5

File tree

1 file changed

+54
-48
lines changed

1 file changed

+54
-48
lines changed

articles/virtual-network/nat-gateway/quickstart-create-nat-gateway-portal.md

Lines changed: 54 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: allensu
77
ms.service: virtual-network
88
ms.subservice: nat
99
ms.topic: quickstart
10-
ms.date: 11/11/2022
10+
ms.date: 02/09/2023
1111
ms.custom: template-quickstart, FY23 content-maintenance
1212
---
1313

@@ -27,11 +27,11 @@ For information about public IP prefixes and a NAT gateway, see [Manage NAT gate
2727

2828
1. Sign in to the [Azure portal](https://portal.azure.com).
2929

30-
2. In the search box at the top of the portal, enter **NAT gateway**. Select **NAT gateways** in the search results.
30+
1. In the search box at the top of the portal, enter **NAT gateway**. Select **NAT gateways** in the search results.
3131

32-
3. Select **+ Create**.
32+
1. Select **+ Create**.
3333

34-
4. In **Create network address translation (NAT) gateway**, enter or select this information in the **Basics** tab:
34+
1. In **Create network address translation (NAT) gateway**, enter or select this information in the **Basics** tab:
3535

3636
| **Setting** | **Value** |
3737
|------------------|-----------------------------------------------------------------|
@@ -42,31 +42,31 @@ For information about public IP prefixes and a NAT gateway, see [Manage NAT gate
4242
| NAT gateway name | Enter **myNATgateway** |
4343
| Region | Select **West Europe** |
4444
| Availability Zone | Select **No Zone**. |
45-
| Idle timeout (minutes) | Enter **10**. |
45+
| TCP idle timeout (minutes) | Enter **10**. |
4646

4747
For information about availability zones and NAT gateway, see [NAT gateway and availability zones](./nat-availability-zones.md).
4848

49-
5. Select the **Outbound IP** tab, or select the **Next: Outbound IP** button at the bottom of the page.
49+
1. Select the **Outbound IP** tab, or select the **Next: Outbound IP** button at the bottom of the page.
5050

51-
6. In the **Outbound IP** tab, enter or select the following information:
51+
1. In the **Outbound IP** tab, enter or select the following information:
5252

5353
| **Setting** | **Value** |
5454
| ----------- | --------- |
5555
| Public IP addresses | Select **Create a new public IP address**. </br> In **Name**, enter **myPublicIP**. </br> Select **OK**. |
5656

57-
7. Select the **Review + create** tab, or select the blue **Review + create** button at the bottom of the page.
57+
1. Select the **Review + create** tab, or select the blue **Review + create** button at the bottom of the page.
5858

59-
8. Select **Create**.
59+
1. Select **Create**.
6060

6161
## Virtual network
6262

6363
Before you deploy a virtual machine and can use your NAT gateway, you need to create the virtual network. This virtual network will contain the virtual machine created in later steps.
6464

6565
1. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
6666

67-
2. Select **Create**.
67+
1. Select **+ Create**.
6868

69-
3. In **Create virtual network**, enter or select this information in the **Basics** tab:
69+
1. In **Create virtual network**, enter or select this information in the **Basics** tab:
7070

7171
| **Setting** | **Value** |
7272
|------------------|-----------------------------------------------------------------|
@@ -77,36 +77,42 @@ Before you deploy a virtual machine and can use your NAT gateway, you need to cr
7777
| Name | Enter **myVNet** |
7878
| Region | Select **(Europe) West Europe** |
7979

80-
4. Select the **IP Addresses** tab or select the **Next: IP Addresses** button at the bottom of the page.
80+
1. Select the **Security** tab or select the **Next: Security** button at the bottom of the page.
8181

82-
5. Accept the default IPv4 address space of **10.1.0.0/16**.
82+
1. Under **Azure Bastion**, select **Enable Azure Bastion**. Enter this information:
8383

84-
6. In the subnet section in **Subnet name**, select the **default** subnet.
84+
| Setting | Value |
85+
|--------------------|----------------------------|
86+
| Azure Bastion name | Enter **myBastionHost** |
87+
| Azure Bastion public IP address | Select **New(myVNet-publicipAddress1)** |
88+
89+
1. Select the **IP Addresses** tab or select the **Next: IP Addresses** button at the bottom of the page.
90+
91+
1. Accept the default IPv4 address space of **10.0.0.0/16**.
8592

86-
7. In **Edit subnet**, enter this information:
93+
1. In the subnet section in **Subnet name**, select the **default** subnet, then select **Save**.
94+
95+
1. In **Edit subnet**, enter this information:
8796

8897
| Setting | Value |
8998
|--------------------|----------------------------|
90-
| Subnet name | Enter **mySubnet** |
91-
| Subnet address range | Enter **10.1.0.0/24** |
92-
| **NAT GATEWAY** |
99+
| Name| Enter **mySubnet** |
100+
| Starting address | Enter **10.0.0.0** |
101+
| Subnet size | Select **/24** |
102+
| **Security** |
93103
| NAT gateway | Select **myNATgateway**. |
94104

95-
8. Select **Save**.
96-
97-
9. Select the **Security** tab.
98-
99-
10. Under **BastionHost**, select **Enable**. Enter this information:
105+
1. Select **Add a subnet** and enter the following information, then select **Add**.
100106

101107
| Setting | Value |
102108
|--------------------|----------------------------|
103-
| Bastion name | Enter **myBastionHost** |
104-
| AzureBastionSubnet address space | Enter **10.1.1.0/26** |
105-
| Public IP Address | Select **Create new**. </br> For **Name**, enter **myBastionIP**. </br> Select **OK**. |
109+
| Subnet template | Select **Azure Bastion** |
110+
| Starting address | Enter **10.0.1.0** |
111+
| Subnet size | Select **/26** |
106112

107-
11. Select the **Review + create** tab or select the **Review + create** button.
113+
1. Select the **Review + create** tab or select the **Review + create** button.
108114

109-
12. Select **Create**.
115+
1. Select **Create**.
110116

111117
It can take a few minutes for the deployment of the virtual network to complete. Proceed to the next steps when the deployment completes.
112118

@@ -116,9 +122,9 @@ In this section, you'll create a virtual machine to test the NAT gateway and ver
116122

117123
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
118124

119-
2. Select **+ Create** > **Azure virtual machine**.
125+
1. Select **+ Create** > **Azure virtual machine**.
120126

121-
2. In the **Create a virtual machine** page in the **Basics** tab, enter, or select the following information:
127+
1. In the **Create a virtual machine** page in the **Basics** tab, enter, or select the following information:
122128

123129
| **Setting** | **Value** |
124130
| ----------- | --------- |
@@ -139,13 +145,13 @@ In this section, you'll create a virtual machine to test the NAT gateway and ver
139145
| **Inbound port rules** | |
140146
| Public inbound ports | Select **None**. |
141147

142-
3. Select the **Disks** tab, or select the **Next: Disks** button at the bottom of the page.
148+
1. Select the **Disks** tab, or select the **Next: Disks** button at the bottom of the page.
143149

144-
4. Leave the default in the **Disks** tab.
150+
1. Leave the default in the **Disks** tab.
145151

146-
5. Select the **Networking** tab, or select the **Next: Networking** button at the bottom of the page.
152+
1. Select the **Networking** tab, or select the **Next: Networking** button at the bottom of the page.
147153

148-
6. In the **Networking** tab, enter or select the following information:
154+
1. In the **Networking** tab, enter or select the following information:
149155

150156
| **Setting** | **Value** |
151157
| ----------- | --------- |
@@ -156,35 +162,35 @@ In this section, you'll create a virtual machine to test the NAT gateway and ver
156162
| NIC network security group | Select **Basic**. |
157163
| Public inbound ports | Select **None**. |
158164

159-
7. Select the **Review + create** tab, or select the blue **Review + create** button at the bottom of the page.
165+
1. Select the **Review + create** tab, or select the blue **Review + create** button at the bottom of the page.
160166

161-
8. Select **Create**.
167+
1. Select **Create**.
162168

163169
## Test NAT gateway
164170

165171
In this section, you'll test the NAT gateway. You'll first discover the public IP of the NAT gateway. You'll then connect to the test virtual machine and verify the outbound connection through the NAT gateway.
166172

167173
1. In the search box at the top of the portal, enter **Public IP**. Select **Public IP addresses** in the search results.
168174

169-
2. Select **myPublicIP**.
175+
1. Select **myPublicIP**.
170176

171-
3. Make note of the public IP address:
177+
1. Make note of the public IP address:
172178

173179
:::image type="content" source="./media/quickstart-create-nat-gateway-portal/find-public-ip.png" alt-text="Discover public IP address of NAT gateway" border="true":::
174180

175-
4. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
181+
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
176182

177-
5. Select **myVM**.
183+
1. Select **myVM**.
178184

179-
4. On the **Overview** page, select **Connect**, then **Bastion**.
185+
1. On the **Overview** page, select **Connect**, then **Bastion**.
180186

181-
6. Enter the username and password entered during VM creation. Select **Connect**.
187+
1. Enter the username and password entered during VM creation. Select **Connect**.
182188

183-
7. Open **Microsoft Edge** on **myTestVM**.
189+
1. Open **Microsoft Edge** on **myTestVM**.
184190

185-
8. Enter **https://whatsmyip.com** in the address bar.
191+
1. Enter **https://whatsmyip.com** in the address bar.
186192

187-
9. Verify the IP address displayed matches the NAT gateway address you noted in the previous step:
193+
1. Verify the IP address displayed matches the NAT gateway address you noted in the previous step:
188194

189195
:::image type="content" source="./media/quickstart-create-nat-gateway-portal/my-ip.png" alt-text="Internet Explorer showing external outbound IP" border="true":::
190196

@@ -195,11 +201,11 @@ the virtual network, virtual machine, and NAT gateway with the following steps:
195201

196202
1. From the left-hand menu, select **Resource groups**.
197203

198-
2. Select the **myResourceGroupNAT** resource group.
204+
1. Select the **myResourceGroupNAT** resource group.
199205

200-
3. Select **Delete resource group**.
206+
1. Select **Delete resource group**.
201207

202-
4. Enter **myResourceGroupNAT** and select **Delete**.
208+
1. Enter **myResourceGroupNAT** and select **Delete**.
203209

204210
## Next steps
205211

0 commit comments

Comments
 (0)