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/ipsec-ike-policy-howto.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ description: Learn how to configure IPsec/IKE custom policy for S2S or VNet-to-V
5
5
author: cherylmc
6
6
ms.service: vpn-gateway
7
7
ms.topic: how-to
8
-
ms.date: 01/30/2023
8
+
ms.date: 04/04/2024
9
9
ms.author: cherylmc
10
-
11
10
---
11
+
12
12
# Configure custom IPsec/IKE connection policies for S2S VPN and VNet-to-VNet: Azure portal
13
13
14
14
This article walks you through the steps to configure IPsec/IKE policy for VPN Gateway Site-to-Site VPN or VNet-to-VNet connections using the Azure portal. The following sections help you create and configure an IPsec/IKE policy, and apply the policy to a new or existing connection.
@@ -17,7 +17,7 @@ This article walks you through the steps to configure IPsec/IKE policy for VPN G
17
17
18
18
The instructions in this article help you set up and configure IPsec/IKE policies as shown in the following diagram.
:::image type="content" source="./media/ipsec-ike-policy-howto/policy-diagram.png" alt-text="Diagram showing IPsec/IKE policies for both VNet-to-VNet and Site-to-Site VPN gateways." lightbox="./media/ipsec-ike-policy-howto/policy-diagram.png":::
21
21
22
22
1. Create a virtual network and a VPN gateway.
23
23
1. Create a local network gateway for cross premises connection, or another virtual network and gateway for VNet-to-VNet connection.
@@ -47,17 +47,17 @@ The following table lists the corresponding Diffie-Hellman groups supported by t
Refer to [RFC3526](https://tools.ietf.org/html/rfc3526) and [RFC5114](https://tools.ietf.org/html/rfc5114) for more details.
50
+
For more information, see [RFC3526](https://tools.ietf.org/html/rfc3526) and [RFC5114](https://tools.ietf.org/html/rfc5114).
51
51
52
52
## <aname="crossprem"></a>Create S2S VPN connection with custom policy
53
53
54
-
This section walks you through the steps to create a Site-to-Site VPN connection with an IPsec/IKE policy. The following steps create the connection as shown in the following diagram:
54
+
This section walks you through the steps to create a Site-to-Site VPN connection with an IPsec/IKE policy. The following steps create the connection as shown in the following diagram. The on-premises site in this diagram represents **Site6**.
:::image type="content" source="./media/ipsec-ike-policy-howto/site-to-site-diagram.png" alt-text="Diagram shows site-to-site vpn gateway connection with a custom policy." lightbox="./media/ipsec-ike-policy-howto/site-to-site-diagram.png":::
57
57
58
58
### Step 1: Create the virtual network, VPN gateway, and local network gateway for TestVNet1
59
59
60
-
Create the following resources.For steps, see [Create a Site-to-Site VPN connection](./tutorial-site-to-site-portal.md).
60
+
Create the following resources.For steps, see [Create a Site-to-Site VPN connection](./tutorial-site-to-site-portal.md).
61
61
62
62
1. Create the virtual network **TestVNet1** using the following values.
63
63
@@ -137,11 +137,11 @@ Configure a custom IPsec/IKE policy with the following algorithms and parameters
137
137
138
138
The steps to create a VNet-to-VNet connection with an IPsec/IKE policy are similar to that of an S2S VPN connection. You must complete the previous sections in [Create an S2S vpn connection](#crossprem) to create and configure TestVNet1 and the VPN gateway.
:::image type="content" source="./media/ipsec-ike-policy-howto/vnet-policy.png" alt-text="Diagram shows VNet-to-VNet policy diagram for TestVNet1 and TestVNet2." lightbox="./media/ipsec-ike-policy-howto/vnet-policy.png":::
141
141
142
142
### Step 1: Create the virtual network, VPN gateway, and local network gateway for TestVNet2
143
143
144
-
Use the steps in the [Create a VNet-to-VNet connection](vpn-gateway-howto-vnet-vnet-resource-manager-portal.md) article to create TestVNet2 and create a VNet-to-VNet connection to TestVNet1.
144
+
Use the steps in the [Create a VNet-to-VNet connection](vpn-gateway-howto-vnet-vnet-resource-manager-portal.md) article to create TestVNet2, and create a VNet-to-VNet connection to TestVNet1.
145
145
146
146
Example values:
147
147
@@ -174,9 +174,9 @@ Example values:
174
174
175
175
### Step 2: Configure the VNet-to-VNet connection
176
176
177
-
1. From the VNet1GW gateway, add a VNet-to-VNet connection to VNet2GW,**VNet1toVNet2**.
177
+
1. From the VNet1GW gateway, add a VNet-to-VNet connection to VNet2GW named**VNet1toVNet2**.
178
178
179
-
1. Next, from the VNet2GW, add a VNet-to-VNet connection to VNet1GW,**VNet2toVNet1**.
179
+
1. Next, from the VNet2GW, add a VNet-to-VNet connection to VNet1GW named**VNet2toVNet1**.
180
180
181
181
1. After you add the connections, you'll see the VNet-to-VNet connections as shown in the following screenshot from the VNet2GW resource:
182
182
@@ -210,12 +210,12 @@ Example values:
210
210
211
211
1. After you complete these steps, the connection is established in a few minutes, and you'll have the following network topology.
:::image type="content" source="./media/ipsec-ike-policy-howto/policy-diagram.png" alt-text="Diagram shows IPsec/IKE policy for VNet-to-VNet and S2S VPN." lightbox="./media/ipsec-ike-policy-howto/policy-diagram.png":::
214
214
215
215
## To remove custom policy from a connection
216
216
217
217
1. To remove a custom policy from a connection, go to the connection resource.
218
-
1. On the **Configuration** page, change the IPse /IKE policy from **Custom** to **Default**. This will remove all custom policy previously specified on the connection, and restore the Default IPsec/IKE settings on this connection.
218
+
1. On the **Configuration** page, change the IPse /IKE policy from **Custom** to **Default**. This removes all custom policy previously specified on the connection, and restore the Default IPsec/IKE settings on this connection.
219
219
1. Select **Save** to remove the custom policy and restore the default IPsec/IKE settings on the connection.
220
220
221
221
## IPsec/IKE policy FAQ
@@ -224,4 +224,4 @@ To view frequently asked questions, go to the IPsec/IKE policy section of the [V
224
224
225
225
## Next steps
226
226
227
-
See [Connect multiple on-premises policy-based VPN devices](vpn-gateway-connect-multiple-policybased-rm-ps.md) for more details regarding policy-based traffic selectors.
227
+
For more information about policy-based traffic selectors, see [Connect multiple on-premises policy-based VPN devices](vpn-gateway-connect-multiple-policybased-rm-ps.md).
0 commit comments