Skip to content

Commit 1c8293e

Browse files
committed
Rewrite
1 parent 8a4b53b commit 1c8293e

File tree

1 file changed

+20
-49
lines changed

1 file changed

+20
-49
lines changed

articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md

Lines changed: 20 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: 'Azure VPN Gateway configuration settings'
33
description: Learn about VPN Gateway resources and configuration settings.
44
author: cherylmc
55
ms.service: vpn-gateway
6-
ms.topic: conceptual
7-
ms.date: 07/11/2024
6+
ms.topic: concept-article
7+
ms.date: 07/29/2024
88
ms.author: cherylmc
99
ms.custom: devx-track-azurepowershell
1010
ms.devlang: azurecli
1111
---
1212
# About VPN Gateway configuration settings
1313

14-
VPN gateway connection architecture relies on the configuration of multiple resources, each of which contains configurable settings. The sections in this article discuss the resources and settings that relate to a VPN gateway for a virtual network created in [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md). You can find descriptions and topology diagrams for each connection solution in the [VPN Gateway topology and design](design.md) article.
14+
VPN gateway connection architecture relies on the configuration of multiple resources, each of which contains configurable settings. The sections in this article discuss the resources and settings that relate to a VPN gateway for a virtual network. You can find descriptions and topology diagrams for each connection solution in the [VPN Gateway topology and design](design.md) article.
1515

1616
The values in this article specifically apply to VPN gateways (virtual network gateways that use the -GatewayType Vpn). If you're looking for information about the following types of gateways, see the following articles:
1717

@@ -21,64 +21,37 @@ The values in this article specifically apply to VPN gateways (virtual network g
2121

2222
## <a name="gwtype"></a>Gateways and gateway types
2323

24-
A virtual network gateway is composed of two or more Azure-managed VMs that are automatically configured and deployed to a specific subnet that you create called the **gateway subnet**. The gateway VMs contain routing tables and run specific gateway services.
24+
A virtual network gateway is composed of two or more Azure-managed VMs that are automatically configured and deployed to a specific subnet that you create called the **gateway subnet**. The gateway VMs contain routing tables and run specific gateway services. When you create a virtual network gateway, the gateway VMs are automatically deployed to the gateway subnet (always named *GatwaySubnet*), and configured with the settings that you specified. The process can take 45 minutes or more to complete, depending on the gateway SKU that you selected.
2525

26-
When you create a virtual network gateway, the gateway VMs are automatically deployed to the gateway subnet (always named *GatwaySubnet*), and configured with the settings that you specified. This process can take 45 minutes or more to complete, depending on the gateway SKU that you selected.
27-
28-
One of the settings that you specify when creating a virtual network gateway is the **gateway type**. The gateway type determines how the virtual network gateway is used and the actions that the gateway takes. A virtual network can have two virtual network gateways; one VPN gateway and one ExpressRoute gateway. The gateway type 'Vpn' specifies that the type of virtual network gateway created is a **VPN gateway**. This distinguishes it from an ExpressRoute gateway, which uses a different gateway type.
29-
30-
When you're creating a virtual network gateway, you must make sure that the gateway type is correct for your configuration. The available values for -GatewayType are:
31-
32-
* Vpn
33-
* ExpressRoute
34-
35-
A VPN gateway requires the `-GatewayType` *Vpn*.
36-
37-
Example:
38-
39-
```azurepowershell-interactive
40-
New-AzVirtualNetworkGateway -Name vnetgw1 -ResourceGroupName testrg `
41-
-Location 'West US' -IpConfigurations $gwipconfig -GatewayType Vpn `
42-
-VpnType RouteBased
43-
```
26+
One of the settings that you specify when creating a virtual network gateway is the **gateway type**. The gateway type determines how the virtual network gateway is used and the actions that the gateway takes. A virtual network can have two virtual network gateways; one VPN gateway and one ExpressRoute gateway. The -GatewayType 'Vpn' specifies that the type of virtual network gateway created is a **VPN gateway**. This distinguishes it from an ExpressRoute gateway.
4427

4528
## <a name="gwsku"></a>Gateway SKUs and performance
4629

4730
See [About Gateway SKUs](about-gateway-skus.md) article for the latest information about gateway SKUs, performance, and supported features.
4831

4932
## <a name="vpntype"></a>VPN types
5033

51-
Azure supports two different VPN types for VPN gateways: policy-based and route-based. Route-based VPN gateways are built on a different platform than policy-based VPN gateways. This results in different gateway specifications. In most cases, you'll create a route-based VPN gateway.
34+
Azure supports two different VPN types for VPN gateways: *policy-based* and *route-based*. Route-based VPN gateways are built on a different platform than policy-based VPN gateways. This results in different gateway specifications. The following table shows the gateway SKUs that support each of the VPN types, and associated supported IKE versions.
5235

53-
Previously, the older gateway SKUs didn't support IKEv1 for route-based gateways. Now, most of the current gateway SKUs support both IKEv1 and IKEv2. As of Oct 1, 2023, you can't create a policy-based VPN gateway through the Azure portal, only route-based gateways are available. If you want to create a policy-based gateway, use PowerShell or CLI.
36+
[!INCLUDE [Route-based and policy-based table](../../includes/vpn-gateway-vpn-type-table.md)]
5437

55-
If you already have a policy-based gateway, you aren't required to change your gateway to route-based unless you want to use a configuration that requires a route-based gateway, such as point-to-site. You can't convert a policy-based gateway to route-based. You must delete the existing gateway, and then create a new gateway as route-based.
38+
In most cases, you'll create a route-based VPN gateway. Previously, the older gateway SKUs didn't support IKEv1 for route-based gateways. Now, most of the current gateway SKUs support both IKEv1 and IKEv2.
5639

57-
[!INCLUDE [Route-based and policy-based table](../../includes/vpn-gateway-vpn-type-table.md)]
40+
* As of Oct 1, 2023, policy-based gateways can only be configured using PowerShell or CLI, and aren't available in the Azure portal. To create a policy-based gateway, see [Create a Basic SKU VPN gateway using PowerShell](create-gateway-basic-sku-powershell.md).
5841

59-
## <a name="active"></a>Active-active VPN gateways
42+
* If you already have a policy-based gateway, you aren't required to change your gateway to route-based unless you want to use a configuration that requires a route-based gateway, such as point-to-site.
43+
* You can't convert a policy-based gateway to route-based. You must delete the existing gateway, and then create a new gateway as route-based.
6044

61-
Azure VPN gateways can be configured as active-standby or active-active. In an active-active configuration, both instances of the gateway VMs establish S2S VPN tunnels to your on-premises VPN device or devices. Active-active mode gateways are a key part of highly available gateway connectivity design. For more information, see the following articles:
45+
## <a name="active"></a>Active-active mode gateways
46+
47+
Azure VPN gateways can be configured as active-standby or active-active. In an active-active configuration, both instances of the gateway VMs establish site-to-site VPN tunnels to your on-premises VPN device. Active-active mode gateways are a key part of highly available gateway connectivity design. For more information, see the following articles:
6248

6349
* [About active-active gateways](about-active-active-gateways.md)
6450
* [Design highly available gateway connectivity for cross-premises and VNet-to-VNet connections](vpn-gateway-highlyavailable.md)
6551

6652
## <a name="connectiontype"></a>Connection types
6753

68-
In the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md), each configuration requires a specific virtual network gateway connection type. The available Resource Manager PowerShell values for `-ConnectionType` are:
69-
70-
* IPsec
71-
* Vnet2Vnet
72-
* ExpressRoute
73-
* VPNClient
74-
75-
In the following PowerShell example, we create a S2S connection that requires the connection type *IPsec*.
76-
77-
```azurepowershell-interactive
78-
New-AzVirtualNetworkGatewayConnection -Name localtovon -ResourceGroupName testrg `
79-
-Location 'West US' -VirtualNetworkGateway1 $gateway1 -LocalNetworkGateway2 $local `
80-
-ConnectionType IPsec -SharedKey 'abc123'
81-
```
54+
Each connection requires a specific virtual network gateway connection type. The available PowerShell values for [New-AzVirtualNetworkGatewayConnection](/powershell/module/az.network/new-azvirtualnetworkgatewayconnection) `-Connection Type` are: IPsec, Vnet2Vnet, ExpressRoute, VPNClient.
8255

8356
## <a name="connectionmode"></a>Connection modes
8457

@@ -92,7 +65,7 @@ When you create the gateway subnet, you specify the number of IP addresses that
9265

9366
When you're planning your gateway subnet size, refer to the documentation for the configuration that you're planning to create. For example, the ExpressRoute/VPN Gateway coexist configuration requires a larger gateway subnet than most other configurations. While it's possible to create a gateway subnet as small as /29 (applicable to the Basic SKU only), all other SKUs require a gateway subnet of size /27 or larger (/27, /26, /25 etc.). You might want to create a gateway subnet larger than /27 so that the subnet has enough IP addresses to accommodate possible future configurations.
9467

95-
The following Resource Manager PowerShell example shows a gateway subnet named GatewaySubnet. You can see the CIDR notation specifies a /27, which allows for enough IP addresses for most configurations that currently exist.
68+
The following PowerShell example shows a gateway subnet named GatewaySubnet. You can see the CIDR notation specifies a /27, which allows for enough IP addresses for most configurations that currently exist.
9669

9770
```azurepowershell-interactive
9871
Add-AzVirtualNetworkSubnetConfig -Name 'GatewaySubnet' -AddressPrefix 10.0.3.0/27
@@ -104,7 +77,7 @@ Considerations:
10477

10578
## <a name="lng"></a>Local network gateways
10679

107-
A local network gateway is different than a virtual network gateway. When you're working with a VPN gateway site-to-site architecture, the local network gateway usually represents your on-premises network and the corresponding VPN device. In the classic deployment model, the local network gateway is referred to as a *Local Site*.
80+
A local network gateway is different than a virtual network gateway. When you're working with a VPN gateway site-to-site architecture, the local network gateway usually represents your on-premises network and the corresponding VPN device.
10881

10982
When you configure a local network gateway, you specify the name, the public IP address or the fully qualified domain name (FQDN) of the on-premises VPN device, and the address prefixes that are located on the on-premises location. Azure looks at the destination address prefixes for network traffic, consults the configuration that you specified for your local network gateway, and routes packets accordingly. If you use Border Gateway Protocol (BGP) on your VPN device, you provide the BGP peer IP address of your VPN device and the autonomous system number (ASN) of your on-premises network. You also specify local network gateways for VNet-to-VNet configurations that use a VPN gateway connection.
11083

@@ -121,11 +94,9 @@ Sometimes you need to modify the local network gateway settings. For example, wh
12194

12295
For technical resources and specific syntax requirements when using REST APIs, PowerShell cmdlets, or Azure CLI for VPN Gateway configurations, see the following pages:
12396

124-
| **Classic** | **Resource Manager** |
125-
| --- | --- |
126-
| [PowerShell](/powershell/module/az.network/#networking) |[PowerShell](/powershell/module/az.network#vpn) |
127-
| [REST API](/previous-versions/azure/reference/jj154113(v=azure.100)) |[REST API](/rest/api/network/virtualnetworkgateways) |
128-
| Not supported | [Azure CLI](/cli/azure/network/vnet-gateway)|
97+
* [PowerShell](/powershell/module/az.network#vpn)
98+
* [Azure CLI](/cli/azure/network/vnet-gateway)
99+
* [REST API](/rest/api/network/virtualnetworkgateways)
129100

130101
## Next steps
131102

0 commit comments

Comments
 (0)