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/vpn-gateway/tutorial-site-to-site-portal.md
+33-25Lines changed: 33 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: cherylmc
6
6
ms.author: cherylmc
7
7
ms.service: azure-vpn-gateway
8
8
ms.topic: tutorial
9
-
ms.date: 04/16/2024
9
+
ms.date: 08/13/2024
10
10
11
11
#customer intent: As a network engineer, I want to create a site-to-site VPN connection between my on-premises location and my Azure virtual network.
12
12
---
@@ -30,9 +30,12 @@ In this tutorial, you:
30
30
## Prerequisites
31
31
32
32
* You need an Azure account with an active subscription. If you don't have one, you can [create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
33
-
* Make sure you have a compatible VPN device and someone who can configure it. For more information about compatible VPN devices and device configuration, see [About VPN devices](vpn-gateway-about-vpn-devices.md).
34
-
* Verify that you have an externally facing public IPv4 address for your VPN device.
35
-
* If you're unfamiliar with the IP address ranges located in your on-premises network configuration, you need to coordinate with someone who can provide those details for you. When you create this configuration, you must specify the IP address range prefixes that Azure will route to your on-premises location. None of the subnets of your on-premises network can overlap with the virtual network subnets that you want to connect to.
33
+
34
+
* If you're unfamiliar with the IP address ranges located in your on-premises network configuration, you need to coordinate with someone who can provide those details for you. When you create this configuration, you must specify the IP address range prefixes that Azure routes to your on-premises location. None of the subnets of your on-premises network can overlap with the virtual network subnets that you want to connect to.
35
+
* VPN devices:
36
+
* Make sure you have a compatible VPN device and someone who can configure it. For more information about compatible VPN devices and device configuration, see [About VPN devices](vpn-gateway-about-vpn-devices.md).
37
+
* Verify that you have an externally facing public IPv4 address for your VPN device.
38
+
* Verify that your VPN device supports active-active mode gateways. This article creates an active-active mode VPN gateway, which is recommended for highly available connectivity. Active-active mode specifies that both gateway VM instances are active and uses two public IP addresses, one for each gateway VM instance. You configure your VPN device to connect to the IP address for each gateway VM instance. If your VPN device doesn't support this mode, don't enable this mode for your gateway. For more information, see [Design highly available connectivity for cross-premises and VNet-to-VNet connections](vpn-gateway-highlyavailable.md) and [About active-active mode VPN gateways](about-active-active-gateways.md).
36
39
37
40
## <aname="CreatVNet"></a>Create a virtual network
38
41
@@ -43,8 +46,7 @@ In this section, you create a virtual network by using the following values:
[!INCLUDE [Create a virtual network](../../includes/vpn-gateway-basic-vnet-rm-portal-include.md)]
@@ -61,42 +63,45 @@ After you create your virtual network, you can optionally configure Azure DDoS P
61
63
62
64
## <aname="VNetGateway"></a>Create a VPN gateway
63
65
64
-
In this step, you create the virtual network gateway for your virtual network. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
66
+
In this step, you create a virtual network gateway (VPN gateway) for your virtual network. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
65
67
66
-
### Create the gateway
68
+
### Create a VPN gateway
67
69
68
70
Create a virtual network gateway (VPN gateway) by using the following values:
69
71
70
72
***Name**: VNet1GW
71
-
***Region**: East US
72
73
***Gateway type**: VPN
73
-
***SKU**: VpnGw2
74
+
***SKU**: VpnGw2AZ
74
75
***Generation**: Generation 2
75
76
***Virtual network**: VNet1
76
77
***Gateway subnet address range**: 10.1.255.0/27
77
78
***Public IP address**: Create new
78
-
***Public IP address name**: VNet1GWpip
79
-
***Enable active-active mode**: Disabled
79
+
***Public IP address name:** VNet1GWpip1
80
+
***Public IP address SKU:** Standard
81
+
***Assignment:** Static
82
+
***Second Public IP address name:** VNet1GWpip2
83
+
***Enable active-active mode**: Enabled
80
84
***Configure BGP**: Disabled
81
85
82
-
[!INCLUDE [Create a vpn gateway](../../includes/vpn-gateway-add-gw-portal-include.md)]
86
+
[!INCLUDE [Create a vpn gateway](../../includes/vpn-gateway-add-azgw-portal-include.md)]
A gateway can take 45 minutes or more to fully create and deploy. You can see the deployment status on the **Overview** page for your gateway. After the gateway is created, you can view the IP address assigned to it by looking at the virtual network in the portal. The gateway appears as a connected device.
90
+
A gateway can take 45 minutes or more to fully create and deploy. You can see the deployment status on the **Overview** page for your gateway.
To view public IP addresses associated to your virtual network gateway, navigate to your gateway in the portal.
96
+
To view the IP address associated with each virtual network gateway VM instance, go to your virtual network gateway in the portal.
93
97
94
-
1. On the portal page for your virtual network gateway, under **Settings**, open the **Properties** page.
98
+
1. Go to your virtual network gateway **Properties** page (not the Overview page). You might need to expand **Settings** to see the **Properties** page in the list.
99
+
1. If your gateway in active-passive mode, you'll only see one IP address. If your gateway is in active-active mode, you'll see two public IP addresses listed, one for each gateway VM instance. When you create a site-to-site connection, you must specify each IP address when configuring your VPN device because both gateway VMs are active.
95
100
1. To view more information about the IP address object, click the associated IP address link.
96
101
97
102
## <aname="LocalNetworkGateway"></a>Create a local network gateway
98
103
99
-
The local network gateway is a specific object deployed to Azure that represents your on-premises location (the site) for routing purposes. You give the site a name by which Azure can refer to it, and then specify the IP address of the on-premises VPN device to which you create a connection. You also specify the IP address prefixes that are routed through the VPN gateway to the VPN device. The address prefixes you specify are the prefixes located on your on-premises network. If your on-premises network changes or you need to change the public IP address for the VPN device, you can easily update the values later.
104
+
The local network gateway is a specific object deployed to Azure that represents your on-premises location (the site) for routing purposes. You give the site a name by which Azure can refer to it, and then specify the IP address of the on-premises VPN device to which you create a connection. You also specify the IP address prefixes that are routed through the VPN gateway to the VPN device. The address prefixes you specify are the prefixes located on your on-premises network. If your on-premises network changes or you need to change the public IP address for the VPN device, you can easily update the values later. You create a separate local network gateway for each VPN device that you want to connect to. Some highly available connectivity designs specify multiple on-premises VPN devices.
100
105
101
106
Create a local network gateway by using the following values:
102
107
@@ -110,14 +115,17 @@ Create a local network gateway by using the following values:
110
115
111
116
Site-to-site connections to an on-premises network require a VPN device. In this step, you configure your VPN device. When you configure your VPN device, you need the following values:
112
117
113
-
***Shared key**: This shared key is the same one that you specify when you create your site-to-site VPN connection. In our examples, we use a very simple shared key. We recommend that you generate a more complex key to use.
114
-
***Public IP address of your virtual network gateway**: You can view the public IP address by using the Azure portal, PowerShell, or the Azure CLI. To find the public IP address of your VPN gateway by using the Azure portal, go to **Virtual network gateways** and then select the name of your gateway.
118
+
***Shared key**: This shared key is the same one that you specify when you create your site-to-site VPN connection. In our examples, we use a simple shared key. We recommend that you generate a more complex key to use.
119
+
***Public IP addresses of your virtual network gateway instances**: Obtain the IP address for each VM instance. If your gateway is in active-active mode, you'll have an IP address for each gateway VM instance. Be sure to configure your device with both IP addresses, one for each active gateway VM. Active-standby mode gateways have only one IP address.
120
+
121
+
> [!NOTE]
122
+
> [!INCLUDE [active-active establish two tunnels](../../includes/vpn-gateway-active-active-tunnel.md)]
115
123
116
124
[!INCLUDE [Configure a VPN device](../../includes/vpn-gateway-configure-vpn-device-include.md)]
Create a site-to-site VPN connection between your virtual network gateway and your on-premises VPN device.
128
+
Create a site-to-site VPN connection between your virtual network gateway and your on-premises VPN device. If you're using an active-active mode gateway (recommended), each gateway VM instance has a separate assigned IP address object. To properly configure [highly available connectivity](vpn-gateway-highlyavailable.md), you must connect each VM instance to your VPN device.
121
129
122
130
Create a connection by using the following values:
123
131
@@ -161,9 +169,9 @@ Resetting an Azure VPN gateway is helpful if you lose cross-premises VPN connect
161
169
162
170
You can create a connection to multiple on-premises sites from the same VPN gateway. If you want to configure multiple connections, the address spaces can't overlap between any of the connections.
163
171
164
-
1.To add another connection, go to the VPN gateway and then select **Connections**to open the **Connections** page.
165
-
1.Select **+ Add** to add your connection. Adjust the connection type to reflect either network-to-network (if connecting to another virtual network gateway) or site-to-site.
166
-
1.If you're connecting by using site-to-site and you haven't already created a local network gateway for the site you want to connect to, you can create a new one.
172
+
1.If you're connecting using a site-to-site VPN and you don't have a local network gateway for the site you want to connect to, create another site.
173
+
1.To add a connection, go to the VPN gateway and then select **Connections**to open the **Connections** page.
174
+
1.Select **+ Add** to add your connection. Adjust the connection type to reflect either VNet-to-VNet (if connecting to another virtual network gateway) or site-to-site.
167
175
1. Specify the shared key that you want to use and then select **OK** to create the connection.
Copy file name to clipboardExpand all lines: includes/vpn-gateway-add-site-to-site-connection-portal-include.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
author: cherylmc
3
-
ms.service: azure-vpn-gateway
3
+
ms.service: vpn-gateway
4
4
ms.topic: include
5
-
ms.date: 04/16/2024
5
+
ms.date: 08/13/2024
6
6
ms.author: cherylmc
7
7
---
8
-
1.Go to your virtual network. On your virtual network page, in the left pane, select **Connected devices**. Locate your VPN gateway and select it to open it.
8
+
1.In the portal, go to the virtual network gateway and open it.
9
9
1. On the page for the gateway, select **Connections**.
10
10
1. At the top of the **Connections** page, select **+ Add** to open the **Create connection** page.
0 commit comments