Always On VPN configuration in Windows 10 using Microsoft Intune

I’ve often had to employ various virtual private networking (VPN) solutions the years as I’ve worked developing documentation, white papers, courseware, and other technical collateral for business partners and large vendors like Microsoft. Deploying and configuring such solutions however has often been a headache. DirectAccess, a Microsoft technology introduced in Windows Server 2008 R2 and Windows 7, promised to provide seamless connectivity between remote clients and corporate networks without the requirement of deploying and using VPN connections. While this promise was in fact realized by this technology, implementing and managing it was often challenging for many administrators.

With Windows 10, however, the pendulum has now swung the opposite way by introducing a new remote connectivity solution called Always On VPN. I’ve used this solution myself and I personally prefer it over using DirectAccess, and to help our readers better understand how to deploy and configure it I interviewed my colleague Richard Hicks asking him to refresh our understanding of this technology and walk us through how to deploy and configure it. Richard is the founder and principal consultant of Richard M. Hicks Consulting and focuses on helping organizations implement edge security, remote access, and PKI solutions on Microsoft and third-party platforms. He is a Microsoft Most Valuable Professional in the Cloud & Datacenter and Enterprise Security award categories and can be found on Twitter here. Richard previously provided us with a brief overview of Always On VPN in this TechGenix article but today he’s going to go into much more technical detail about setting it up using Microsoft Intune.

MITCH: Richard, please start by giving us a refresher on why Always On VPN might make sense for many organizations looking for an improved remote connectivity solution.

RICHARD: Well, for many years DirectAccess has been the remote access solution of choice for enterprise organizations everywhere. It provides seamless, transparent, always on connectivity for mobile users, enabling them to be productive anywhere. Persistent network access also allows administrators to better manage their predominantly field-based devices. But DirectAccess relies heavily on Active Directory and Group Policy and requires DirectAccess clients and servers to be joined to a domain. And as organizations migrate applications, data, and even infrastructure to the cloud, a mobility solution that supports cloud integration and modern management will be required.

To address the shortcomings of DirectAccess, Microsoft introduced Always On VPN for Windows 10. It provides the same user experience as DirectAccess but includes essential support for cloud-based services such as Azure Active Directory. With Always On VPN, administrators can extend the same DirectAccess-like experience to their Windows 10 Professional devices. Always On VPN supports advanced features not included with DirectAccess such as traffic filtering, Azure Active Directory join, conditional access, and integration with Windows Information Protection (WIP) and Windows Hello for Business.

MITCH: Is Always ON VPN implemented and managed in a similar fashion to how DirectAccess is?

RICHARD: Always On VPN is implemented and managed in a fundamentally different way than DirectAccess. It required an on-premises Active Directory, and clients must be joined to a domain. Where DirectAccess used Group Policy to distribute configuration settings, Always On VPN is designed to use a Mobile Device Management (MDM) platform such as Microsoft Intune. Using Intune, administrators can create and deploy VPN profiles that are distributed to Windows 10 devices wherever they reside.

MITCH: OK, let’s now move on from the appetizer to the main dish. Before you show us how to deploy Always On VPN using Intune, tell us if there are any prerequisite steps that are necessary.

RICHARD: Well, before you begin, the guidance for provisioning an Always On VPN profile using Intune assumes that Windows 10 computers are being managed using Intune and that all required certificates have been provisioned to the client. Guidance for provisioning certificates using Intune can be found here.

MITCH: Thanks. So I assume the first step now is that you create a profile for your new Always On VPN connections, right? Please show us how to do this in a step-by-step fashion.

RICHARD: Right. To deploy a Windows 10 Always On VPN profile using Intune, open the Intune management console and perform the following steps:

  1. Click Device Configuration.
  2. Click Profiles.
  3. Click Create Profile.

  1. Enter a name for the profile in the Name field.
  2. Select Windows 10 and later from the Platform drop-down list.
  3. Select VPN from the Profile type drop-down list.
  4. Click Base VPN.
  5. Enter a name in the Connection name field.
  6. Enter a description and the IP address or FQDN of the VPN server in the Description and IP address or FQDN fields, respectively.
  7. Click True for the Default server and then click Add.
  8. Select Enable or Disable to Register IP addresses with internal DNS.
  9. Select Automatic from the Connection type drop-down list.
  10. Select Enable to configure the VPN connection to be Always On.
  11. Select Enable to Remember credentials at each logon.
  12. Select an Authentication certificate.
  13. Paste the EAP XML exported from a working template connection in the EAP Xml field.
  14. Click OK.

  1. Click DNS Settings.
  2. Enter the DNS suffix used on the internal network in the DNS suffixes field.
  3. Click Add.
  4. Click OK.

  1. Click Split Tunneling (optional).
  2. Click Enable for Split tunneling.
  3. Enter the network address(es) that corresponds to the internal network in the Destination prefix and Prefix size fields.
  4. Click OK.

  1. Click Trusted Network Detection (optional).
  2. Enter the DNS suffix associated with the internal network.
  3. Click Add.

  1. Click OK twice and then click Create to create the Always On VPN profile.

You’re done!

MITCH: This is great, even an idiot like myself can follow it! OK, now please show us how to deploy an Always On VPN profile using Intune.

RICHARD: It’s simple. Once the Always On VPN profile has been created, follow the steps below to assign the profile to client devices:

  1. Click Assignments.
  2. Choose Selected Groups from the Assign to drop-down list.
  3. Click Select groups to include.
  4. Click the appropriate target group.
  5. Click Select.
  6. Click Save.

MITCH: Are there any advanced options you can use Intune to configure for Always On VPN?

RICHARD: There are many advanced options available for Always On VPN. The following settings can also be enabled using Intune:

  • Windows Information Protection (WIP).
  • Network Traffic Rules.
  • Conditional Access.
  • Single sign-on (SSO).
  • Proxy server configuration.

MITCH: Thanks very much! So going forward, should organizations who use DirectAccess start replacing it with Always On VPN?

RICHARD: Well, Microsoft is no longer investing in DirectAccess and there have been no new features introduced since the introduction of Windows Server 2012. However, DirectAccess has not been formally deprecated and will be fully supported through the lifetime of Windows Server 2019. Always On VPN is clearly the way of the future and Microsoft is making its investments there.

But choosing DirectAccess or Always On VPN depends on many factors. If your organization is looking for advanced security features and modern management support, Always On VPN is the solution of choice. If your organization is still using on-premises Active Directory and group policy management with Windows 10 Enterprise edition clients, DirectAccess can still be deployed if it meets your needs.

And DirectAccess has been around for quite some time, but it is beginning to show its age. Windows 10 Always On VPN integrates easily with Microsoft Azure and supports many advanced features not available with DirectAccess. Always On VPN uses modern management with Intune and works with all Windows 10 SKUs including Professional Edition.

MITCH: Thanks, Richard. Can we end by having you point us to some additional resources where our readers can learn more about Always On VPN?

RICHARD: Certainly, check out these links:

Windows 10 Always On VPN Overview

Deploy Windows 10 Always On VPN

Always On VPN Conditional Access with Azure Active Directory

Comparing DirectAccess and Always On VPN

MITCH: Thank you!

RICHARD: You’re welcome!

Featured image: Shutterstock

Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows Server and cloud technologies who has written more than a thousand articles and has authored or been series editor for over 50 books for Microsoft Press. He is a twelve-time recipient of the Microsoft Most Valuable Professional (MVP) award in the technical category of Cloud and Datacenter Management.

Share
Published by
Mitch Tulloch

Recent Posts

Software-defined perimeter solutions: Why this is the future of security

Traditional VPNs are showing their age in the modern cloud-powered workplace. That’s why software-defined perimeter solutions are in your future.

3 days ago

Why you need to check your virtualization host’s NUMA configuration

Should you disallow NUMA spanning in your Hyper-V architecture? There are two sides to this story, and you’ll get both…

3 days ago

Getting started with Visual Studio Code and integrating with Azure DevOps

Coding may not be the No. 1 job duty for cloud admins, but it is often a part of the…

3 days ago

Apple Event 2019: New iPad, Apple Watch, and more

Apple Event 2019 was more than just about iPhones. The tech giant also rolled out new iPads, an upgraded Apple…

4 days ago

Migrating and configuring Hyper-V passthrough disks

Believe it or not, Hyper-V virtual machines can be configured to use a dedicated physical hard disk, which is referred…

4 days ago

Cut costs and kick back: Use Azure automation accounts for VM utilization

Using Azure automation accounts to start and stop your VMs may just save you enough time to kick back, relax,…

4 days ago