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/vpn-gateway-howto-always-on-device-tunnel.md
+7-139Lines changed: 7 additions & 139 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,155 +7,23 @@ author: cherylmc
7
7
8
8
ms.service: vpn-gateway
9
9
ms.topic: conceptual
10
-
ms.date: 12/11/2019
10
+
ms.date: 03/12/2020
11
11
ms.author: cherylmc
12
12
13
13
---
14
14
# Configure an Always On VPN device tunnel
15
15
16
-
One of the new features of the Windows 10 Virtual Private Network (VPN) client is the ability to maintain a VPN connection. Always On is a Windows 10 feature that enables the active VPN profile to connect automatically and remain connected based on triggers — namely, user sign-in, network state change, or device screen active.
Azure virtual network gateways can be used with Windows 10 Always On to establish persistent user tunnels as well as device tunnels to Azure. This article will help you configure an Always ON VPN device tunnel.
18
+
## Configure the gateway
19
19
20
-
Always On VPN connections include two types of tunnels:
20
+
Configure the VPN gateway to use IKEv2 and certificate-based authentication using the [Configure a Point-to-Site VPN connection](vpn-gateway-howto-point-to-site-resource-manager-portal.md) article.
21
21
22
-
***Device tunnel** connects to specified VPN servers before users sign in the device. Pre-login connectivity scenarios and device management purposes use device tunnel.
22
+
## Configure the devicetunnel
23
23
24
-
***User tunnel** connects only after a user sign in the device. User tunnel allows users to access organization resources through VPN servers.
Both Device tunnel and User tunnel operate independently with their VPN profiles. They can be connected at the same time, and can use different authentication methods and other VPN configuration settings as appropriate.
27
-
28
-
## 1. Configure the gateway
29
-
30
-
Configure the VPN gateway to use IKEv2 and certificate-based authentication using this [point-to-site article](vpn-gateway-howto-point-to-site-resource-manager-portal.md).
31
-
32
-
## 2. Configure the device tunnel
33
-
34
-
The following requirements must be met in order to successfully establish a device tunnel:
35
-
36
-
* The device must be a domain joined computer running Windows 10 Enterprise or Education version 1809 or later.
37
-
* The tunnel is only configurable for the Windows built-in VPN solution and is established using IKEv2 with computer certificate authentication.
38
-
* Only one device tunnel can be configured per device.
39
-
40
-
1. Install client certificates on the Windows 10 client as shown in this [point-to-site VPN client article](point-to-site-how-to-vpn-client-install-azure-cert.md). The certificate needs to be in the Local Machine store.
41
-
1. Use [these instructions](https://docs.microsoft.com/windows-server/remote/remote-access/vpn/vpn-device-tunnel-config#vpn-device-tunnel-configuration) to create a VPN Profile and configure device tunnel in the context of the LOCAL SYSTEM account.
42
-
43
-
### Configuration example for device tunnel
44
-
45
-
After you have configured the virtual network gateway and installed the client certificate in the Local Machine store on the Windows 10 client, use the following examples to configure a client device tunnel.
46
-
47
-
1. Copy the following text and save it as ***devicecert.ps1***.
$Message = "Unable to create $ProfileName profile: $_"
93
-
Write-Host "$Message"
94
-
exit
95
-
}
96
-
$Message = "Complete."
97
-
Write-Host "$Message"
98
-
```
99
-
1. Copy the following text and save it as ***VPNProfile.xml*** in the same folder as **devicecert.ps1**. Edit the following text to match your environment.
100
-
101
-
*`<Servers>azuregateway-1234-56-78dc.cloudapp.net</Servers> <= Can be found in the VpnSettings.xml in the downloaded profile zip file`
102
-
*`<Address>192.168.3.5</Address> <= IP of resource in the vnet or the vnet address space`
103
-
*`<Address>192.168.3.4</Address> <= IP of resource in the vnet or the vnet address space`
Copy file name to clipboardExpand all lines: articles/vpn-gateway/vpn-gateway-howto-always-on-user-tunnel.md
+8-137Lines changed: 8 additions & 137 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,152 +7,23 @@ author: cherylmc
7
7
8
8
ms.service: vpn-gateway
9
9
ms.topic: conceptual
10
-
ms.date: 10/02/2019
10
+
ms.date: 03/12/2020
11
11
ms.author: cherylmc
12
12
13
13
---
14
14
# Configure an Always On VPN user tunnel
15
15
16
-
A new feature of the Windows 10 VPN client, Always On, is the ability to maintain a VPN connection. With Always On, the active VPN profile can connect automatically and remain connected based on triggers, such as user sign-in, network state change, or device screen active.
You can use Azure virtual network gateways with Windows 10 Always On to establish persistent user tunnels and device tunnels to Azure. This article helps you configure an Always On VPN user tunnel.
18
+
## Configure the gateway
19
19
20
-
Always On VPN connections include either of two types of tunnels:
20
+
Use the instructions in the [Configure a Point-to-Site VPN connection](vpn-gateway-howto-point-to-site-resource-manager-portal.md) article to configure the VPN gateway to use IKEv2 and certificate-based authentication.
21
21
22
-
***Device tunnel**: Connects to specified VPN servers before users sign in to the device. Pre-sign-in connectivity scenarios and device management use a device tunnel.
***User tunnel**: Connects only after users sign in to the device. By using user tunnels, you can access organization resources through VPN servers.
24
+
## To remove a profile
25
25
26
-
Device tunnels and user tunnels operate independent of their VPN profiles. They can be connected at the same time, and they can use different authentication methods and other VPN configuration settings, as appropriate.
27
-
28
-
In the following sections, you configure a VPN gateway and a user tunnel.
29
-
30
-
## Step 1: Configure a VPN gateway
31
-
32
-
You configure the VPN gateway to use IKEv2 and certificate-based authentication by following the instructions in this [point-to-site](vpn-gateway-howto-point-to-site-resource-manager-portal.md) article.
33
-
34
-
## Step 2: Configure a user tunnel
35
-
36
-
1. Install client certificates on the Windows 10 client, as shown in this [point-to-site VPN client](point-to-site-how-to-vpn-client-install-azure-cert.md) article. The certificate must be in the current user store.
37
-
38
-
1. Configure the Always On VPN client through PowerShell, Configuration Manager, or Intune by following the instructions in [Configure Windows 10 client Always On VPN connections](https://docs.microsoft.com/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/vpn-deploy-client-vpn-connections).
39
-
40
-
### Example configuration for the user tunnel
41
-
42
-
After you've configured the virtual network gateway and installed the client certificate in the local machine store on the Windows 10 client, configure a client device tunnel by using the following examples:
43
-
44
-
1. Copy the following text, and save it as *usercert.ps1*:
0 commit comments