Skip to content

Commit a359867

Browse files
Merge pull request #247967 from cherylmc/connection-modes
update connection mode
2 parents f41a248 + b297879 commit a359867

5 files changed

+21
-7
lines changed

articles/vpn-gateway/tutorial-site-to-site-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.author: cherylmc
77
ms.service: vpn-gateway
88
ms.topic: tutorial
9-
ms.date: 06/23/2023
9+
ms.date: 08/10/2023
1010

1111
---
1212

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about VPN Gateway resources and configuration settings.
44
author: cherylmc
55
ms.service: vpn-gateway
66
ms.topic: conceptual
7-
ms.date: 06/27/2023
7+
ms.date: 08/10/2023
88
ms.author: cherylmc
99
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1010
ms.devlang: azurecli
@@ -113,6 +113,10 @@ New-AzVirtualNetworkGatewayConnection -Name localtovon -ResourceGroupName testrg
113113
-ConnectionType IPsec -SharedKey 'abc123'
114114
```
115115

116+
## <a name="connectionmode"></a>Connection modes
117+
118+
[!INCLUDE [Connection modes](../../includes/vpn-gateway-connection-mode-include.md)]
119+
116120
## <a name="vpntype"></a>VPN types
117121

118122
When you create the virtual network gateway for a VPN gateway configuration, you must specify a *VPN type*. The VPN type that you choose depends on the connection topology that you want to create. For example, a P2S connection requires a RouteBased VPN type. A VPN type can also depend on the hardware that you're using. S2S configurations require a VPN device. Some VPN devices only support a certain VPN type.
@@ -143,7 +147,7 @@ Before you create a VPN gateway, you must create a gateway subnet. The gateway s
143147
144148
When you create the gateway subnet, you specify the number of IP addresses that the subnet contains. The IP addresses in the gateway subnet are allocated to the gateway VMs and gateway services. Some configurations require more IP addresses than others.
145149

146-
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 may want to create a gateway subnet larger than /27 so that the subnet has enough IP addresses to accommodate possible future configurations.
150+
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 may want to create a gateway subnet larger than /27 so that the subnet has enough IP addresses to accommodate possible future configurations.
147151

148152
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.
149153

articles/vpn-gateway/vpn-gateway-howto-aws-bgp.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.author: cherylmc
77
ms.service: vpn-gateway
88
ms.topic: tutorial
9-
ms.date: 08/01/2023
9+
ms.date: 08/10/2023
1010

1111
---
1212

@@ -271,7 +271,8 @@ Repeat these steps to create each of the required connections.
271271
* **IPsec / IKE policy**: Default
272272
* **Use policy based traffic selector**: Disable
273273
* **DPD timeout in seconds**: leave the default
274-
* **Connection Mode**: You can select any of the available options (Default, Initiator Only, Responder Only) for **Connection Mode**, then select **Save**.
274+
* **Connection Mode**: You can select any of the available options (Default, Initiator Only, Responder Only). For more information, see [VPN Gateway settings - connection modes](vpn-gateway-about-vpn-gateway-settings.md#connectionmode).
275+
1. Select **Save**.
275276
1. **Review + create** to create the connection.
276277
1. Repeat these steps to create additional connections.
277278
1. Before continuing to the next section, verify that you have a **local network gateway** and **connection** for **each of your four AWS tunnels**.

includes/vpn-gateway-add-site-to-site-connection-portal-include.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: cherylmc
33
ms.service: vpn-gateway
44
ms.topic: include
5-
ms.date: 06/26/2023
5+
ms.date: 08/10/2023
66
ms.author: cherylmc
77
---
88
1. Go to your virtual network. On your VNet page, select **Connected devices** on the left. Locate your VPN gateway and click to open it.
@@ -31,7 +31,7 @@
3131
* **IPse/IKE policy:** Default.
3232
* **Use policy based traffic selector:** Disable.
3333
* **DPD timeout in seconds:** 45
34-
* **Connection Mode:** leave as Default.
34+
* **Connection Mode:** leave as Default. This setting is used to specify which gateway can initiate the connection. For more information, see [VPN Gateway settings - connection modes](../articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md#connectionmode).
3535
1. For **NAT Rules Associations**, leave both Ingress and Egress as **0 selected**.
3636
1. Select **Review + create** to validate your connection settings.
3737
1. Select **Create** to create the connection.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
author: cherylmc
3+
ms.author: cherylmc
4+
ms.date: 08/10/2023
5+
ms.service: vpn-gateway
6+
ms.topic: include
7+
---
8+
9+
The Connection Mode property only applies to route-based VPN gateways that use IKEv2 connections. Connection modes define the connection initiation direction and apply only to the initial IKE connection establishment. Any party can initiate rekeys and further messages. **InitiatorOnly** means the connection needs to be initiated by Azure. **ResponderOnly** means the connection needs to be initiated by the on-premises device. The **Default** behavior is to accept and dial whichever connects first.

0 commit comments

Comments
 (0)