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
Clientprofilefiles contain information that is necessary to configure a VPN connection. This article helps you obtain and understand the information needed for a VPN client profile.
14
+
After you install the Azure VPN Client, you configure the VPN client profile. Client profile files contain information that's necessary to configure a VPN connection. This article helps you obtain and understand the information needed to configure an Azure VPN Client profile.
17
15
18
-
## Generate and download profile
16
+
## <aname="generate"></a>Generate profile files
19
17
20
-
You can generate client configuration files using PowerShell, or by using the Azure portal. Either method returns the same zip file.
18
+
You can generate VPN client profile configuration files using PowerShell, or by using the Azure portal. Either method returns the same zip file.
21
19
22
20
### Portal
23
21
24
22
1. In the Azure portal, navigate to the virtual network gateway for the virtual network that you want to connect to.
25
23
1. On the virtual network gateway page, select **Point-to-site configuration**.
26
24
1. At the top of the Point-to-site configuration page, select **Download VPN client**. It takes a few minutes for the client configuration package to generate.
27
-
1. Your browser indicates that a client configuration zip file is available. It is named the same name as your gateway. Unzip the file to view the folders.
25
+
1. Your browser indicates that a client configuration zip file is available. It's named the same name as your gateway. Unzip the file to view the folders.
28
26
29
27
### PowerShell
30
28
@@ -40,9 +38,34 @@ To generate using PowerShell, you can use the following example:
40
38
41
39
1. Copy the URL to your browser to download the zip file, then unzip the file to view the folders.
Extract the zip file. The file contains the following folders:
44
+
45
+
***AzureVPN**: The AzureVPN folder contains the **Azurevpnconfig.xml** file.
46
+
***Generic**: The generic folder contains the public server certificate and the VpnSettings.xml file. The VpnSettings.xml file contains information needed to configure a generic client
47
+
48
+
## <aname="get"></a>Retrieve file information
49
+
50
+
In the **AzureVPN** folder, navigate to the ***azurevpnconfig.xml*** file and open it with Notepad. Make a note of the text between the following tags. You may need this information later when configuring the Azure VPN Client.
51
+
52
+
```
53
+
<audience> </audience>
54
+
<issuer> </issuer>
55
+
<tennant> </tennant>
56
+
<fqdn> </fqdn>
57
+
<serversecret> </serversecret>
58
+
```
59
+
60
+
## <aname="details"></a>Profile details
61
+
62
+
When you add a connection, use the information you collected in the previous step for the profile details page. The fields correspond to the following information:
44
63
45
-
* The **OpenVPN folder** contains the *ovpn* profile that needs to be modified to include the key and the certificate. For more information, see [Configure OpenVPN clients for Azure VPN Gateway](vpn-gateway-howto-openvpn-clients.md#windows). If Azure AD authentication is selected on the VPN gateway, this folder is not present in the zip file. Instead, navigate to the AzureVPN folder and locate azurevpnconfig.xml.
64
+
***Audience:** Identifies the recipient resource the token is intended for.
65
+
***Issuer:** Identifies the Security Token Service (STS) that emitted the token, as well as the Azure AD tenant.
66
+
***Tenant:** Contains an immutable, unique identifier of the directory tenant that issued the token.
67
+
***FQDN:** The fully qualified domain name (FQDN) on the Azure VPN gateway.
Copy file name to clipboardExpand all lines: articles/vpn-gateway/ikev2-openvpn-from-sstp.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: cherylmc
7
7
8
8
ms.service: vpn-gateway
9
9
ms.topic: how-to
10
-
ms.date: 06/04/2021
10
+
ms.date: 05/04/2022
11
11
ms.author: alzam
12
12
13
13
---
@@ -25,42 +25,40 @@ Point-to-site VPN can use one of the following protocols:
25
25
26
26
* IKEv2 VPN, a standards-based IPsec VPN solution. IKEv2 VPN can be used to connect from Mac devices (macOS versions 10.11 and above).
27
27
28
-
29
28
>[!NOTE]
30
29
>IKEv2 and OpenVPN for P2S are available for the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md) only. They are not available for the classic deployment model. Basic gateway SKU does not support IKEv2 or OpenVPN protocols. If you are using the basic SKU, you will have to delete and recreate a production SKU Virtual Network Gateway.
31
30
>
32
31
33
-
## Migrating from SSTP to IKEv2 or OpenVPN
32
+
## <aname="migrate"></a>Migrating from SSTP to IKEv2 or OpenVPN
34
33
35
34
There may be cases when you want to support more than 128 concurrent P2S connection to a VPN gateway but are using SSTP. In such a case, you need to move to IKEv2 or OpenVPN protocol.
36
35
37
36
### Option 1 - Add IKEv2 in addition to SSTP on the Gateway
38
37
39
38
This is the simplest option. SSTP and IKEv2 can coexist on the same gateway and give you a higher number of concurrent connections. You can simply enable IKEv2 on the existing gateway and redownload the client.
40
39
41
-
Adding IKEv2 to an existing SSTP VPN gateway will not affect existing clients and you can configure them to use IKEv2 in small batches or just configure the new clients to use IKEv2. If a Windows client is configured for both SSTP and IKEv2, it will try to connect using IKEV2 first and if that fails, it will fall back to SSTP.
40
+
Adding IKEv2 to an existing SSTP VPN gateway won't affect existing clients and you can configure them to use IKEv2 in small batches or just configure the new clients to use IKEv2. If a Windows client is configured for both SSTP and IKEv2, it will try to connect using IKEV2 first and if that fails, it will fall back to SSTP.
42
41
43
42
**IKEv2 uses non-standard UDP ports so you need to ensure that these ports are not blocked on the user's firewall. The ports in use are UDP 500 and 4500.**
44
43
45
-
To add IKEv2 to an existing gateway, simply go to the "point-to-site configuration" tab under the Virtual Network Gateway in portal, and select **IKEv2 and SSTP (SSL)** from the drop-down box.
46
-
47
-

44
+
To add IKEv2 to an existing gateway, go to the "point-to-site configuration" tab under the Virtual Network Gateway in portal, and select **IKEv2 and SSTP (SSL)** from the drop-down box.
48
45
46
+
:::image type="content" source="./media/ikev2-openvpn-from-sstp/add-tunnel-type.png" alt-text="Screenshot that shows the Point-to-site configuration page with the Tunnel type drop-down open, and IKEv2 and SSTP(SSL) selected." lightbox="./media/ikev2-openvpn-from-sstp/add-tunnel-type.png":::
49
47
50
48
### Option 2 - Remove SSTP and enable OpenVPN on the Gateway
51
49
52
-
Since SSTP and OpenVPN are both TLS-based protocol, they cannot coexist on the same gateway. If you decide to move away from SSTP to OpenVPN, you will have to disable SSTP and enable OpenVPN on the gateway. This operation will cause the existing clients to lose connectivity to the VPN gateway until the new profile has been configured on the client.
50
+
Since SSTP and OpenVPN are both TLS-based protocol, they can't coexist on the same gateway. If you decide to move away from SSTP to OpenVPN, you'll have to disable SSTP and enable OpenVPN on the gateway. This operation will cause the existing clients to lose connectivity to the VPN gateway until the new profile has been configured on the client.
53
51
54
52
You can enable OpenVPN along side with IKEv2 if you desire. OpenVPN is TLS-based and uses the standard TCP 443 port. To switch to OpenVPN, go to the "point-to-site configuration" tab under the Virtual Network Gateway in portal, and select **OpenVPN (SSL)** or **IKEv2 and OpenVPN (SSL)** from the drop-down box.
:::image type="content" source="./media/ikev2-openvpn-from-sstp/change-tunnel-type.png" alt-text="Screenshot that shows the Point-to-site configuration page with Open VPN selected." lightbox="./media/ikev2-openvpn-from-sstp/change-tunnel-type.png":::
57
55
58
-
Once the gateway has been configured, existing clients will not be able to connect until you [deploy and configure the OpenVPN Clients](./vpn-gateway-howto-openvpn-clients.md).
56
+
Once the gateway has been configured, existing clients won't be able to connect until you [deploy and configure the OpenVPN clients](./vpn-gateway-howto-openvpn-clients.md).
59
57
60
-
If you are using Windows 10, you can also use the [Azure VPN Client for Windows](./openvpn-azure-ad-client.md#to-download-the-azure-vpn-client)
58
+
If you're using Windows 10, you can also use the [Azure VPN Client for Windows](./openvpn-azure-ad-client.md#download)
61
59
60
+
## <aname="faq"></a>Frequently asked questions
62
61
63
-
## Frequently asked questions
64
62
### What are the client configuration requirements?
65
63
66
64
>[!NOTE]
@@ -90,7 +88,6 @@ The zip file also provides the values of some of the important settings on the A
90
88
91
89
### <aname="IKE/IPsec policies"></a>What IKE/IPsec policies are configured on VPN gateways for P2S?
0 commit comments