Always On VPN Device Tunnel: Exporting Certificates and Additional Information

The Always On VPN Device Tunnel is an excellent option for organizations to remotely connect to their Azure VPN Gateway. With this type of connection, users can establish a secure connection to the Azure VPN Gateway without the need to manually initiate the VPN connection each time. This provides a seamless experience for users and ensures that their connection is always protected.
When creating a test VPN connection with the Device Tunnel, organizations have several options to choose from. The recommended option is to use the IKEv2 protocol, as it provides the best security and mobility. Other options include SSTP and L2TP/IPsec.
In order to create a test VPN connection, organizations need to follow a few simple steps. First, they need to export the certificate from the Azure VPN Gateway. This can be done by using the CertUtil.exe tool, which is available for download from Microsoft. Once the certificate has been exported, it can be copied to the client device.
Next, organizations need to create a new VPN connection on the client device. They can do this by opening the Network & Internet settings and clicking on “Add a VPN connection”. In the connection name field, they can enter a name for the VPN connection. They should then select the “Always On” option and choose the Device Tunnel type. In the server name or address field, they should enter the public IP address of the Azure VPN Gateway.
Once the VPN connection has been created, organizations can click on “Connect” to establish the connection. They may be prompted for a username and password, which should be provided. Once the connection is established, users can verify that they are connected to the VPN by checking the Network & Internet settings.
In summary, the Always On VPN Device Tunnel with Azure VPN Gateway is an excellent option for organizations to remotely connect to their Azure resources. By following the recommended settings and using the correct certification, organizations can ensure that their connection is secure and always available. Whether using IKEv2, SSTP, or L2TP/IPsec, the Device Tunnel provides a reliable and secure connection for remote scenarios.
Always On VPN Device Tunnel with Azure VPN Gateway
The Always On VPN Device Tunnel with Azure VPN Gateway is a configuration for secure and continuous remote access to an organization’s internal network. It provides a secure connection to the internal resources using the Azure VPN Gateway, allowing users to access the network anytime and from anywhere.
This configuration requires the use of a certificate for authentication. The certificate is used to authenticate the VPN server and the client device. The certificate is generated and exported from the Azure VPN Gateway, and then copied to the client device. It is important to follow the detailed instructions provided by Microsoft and Azure to properly configure the certificate for this type of deployment.
The Device Tunnel with Azure VPN Gateway supports both route-based and policy-based VPNs. It provides additional options for mobility scenarios, such as hybrid deployments and concurrent connections with DirectAccess. The Device Tunnel is a key feature of the Always On VPN, offering maximum deployment flexibility and enterprise-grade security.
When configuring the Device Tunnel, it is recommended to use a root certification authority (CA) for generating and signing the certificate. This helps ensure the authenticity and security of the connection. Azure VPN Gateway supports various certificate vendors, such as Verisign, DigiCert, and Thawte, among others.
To configure the Device Tunnel, a virtual network (VNet) is required in Azure. The VNet provides the network infrastructure for the VPN gateway and the internal resources. It is necessary to follow the Azure guidelines to create and configure the VNet properly.
Once the configuration is complete, it is possible to create a test VPN connection to verify that everything is working correctly. This can be done by using a test client device and following the specified parameters for the connection. The connection can be established using a client like OpenVPN or NetMotion Mobility, depending on the organization’s requirements.
In conclusion, the Always On VPN Device Tunnel with Azure VPN Gateway is a secure and reliable solution for remote access to an organization’s internal network. It offers flexibility, scalability, and enterprise-grade security. By following the proper configuration steps and guidelines, organizations can ensure a smooth and efficient deployment of the Device Tunnel with Azure VPN Gateway.
Export Certificate – Additional Information – Create a Test VPN Connection
Export Certificate
In order to establish a VPN connection, it is necessary to export the certificate from the Azure VPN Gateway. This certificate, known as the CA certificate, is responsible for supporting route-based VPN connections. It provides additional security options for organizations, such as using IKEv2 and concurrent connections.
Additional Information
When exporting the CA certificate, it is important to note that Windows supports the use of the certutil.exe command-line tool. This tool allows for the download and sharing of certificates in encoded form, making it easy to copy and deploy them on remote devices.
Create a Test VPN Connection
Once the certificate has been exported, it can be used to create a test VPN connection. This can be done using Windows’ built-in VPN client, which provides an excellent GUI for managing VPN connections. In the VPN client, the CA certificate can be imported and the connection parameters, such as the VPN gateway and any required authentication, can be configured.
After configuring the connection, it can then be tested to ensure that it is working properly. This can be done by establishing the VPN connection and verifying that traffic is being routed through the virtual VPN tunnel. This test VPN connection serves as a useful tool for troubleshooting and ensuring the mobility of users in a WAN environment.
Virtual Appliance – IKEv2 Security Configuration
When configuring a Virtual Appliance for IKEv2 security with Azure VPN Gateway, there are several important steps to follow.
Certificate Configuration
First, you need to create a certificate for the Virtual Appliance. This can be done using tools like certutil.exe or by using a certification authority (CA) in your organization. Once the certificate is created, it should be exported and shared with Azure for configuration.
IKEv2 Configuration
In Azure, you will need to configure the IKEv2 settings for the Virtual Appliance. This includes settings like the maximum number of concurrent IKEv2 connections, the encryption and hashing algorithms to use, and the Diffie-Hellman group to use for key exchange.
Virtual Appliance Configuration
After configuring the IKEv2 settings in Azure, you will need to configure the Virtual Appliance itself. This includes setting up the server endpoint, configuring authentication and encryption settings, and creating a VPN connection profile.
Testing the Connection
Once the configuration is complete, you can test the VPN connection to ensure everything is working properly. This can be done using tools like OpenVPN or by creating a point-to-site VPN connection in Azure.
Limitations and Considerations
It’s important to note that there are some limitations and considerations when using a Virtual Appliance with IKEv2 security. These include limitations on the number of concurrent connections, limitations on the maximum number of open connections, and limitations on the type of encryption and hashing algorithms that can be used. It’s also important to consider the security implications of using IKEv2 and ensure that appropriate security measures are in place.
In summary, configuring a Virtual Appliance for IKEv2 security with Azure VPN Gateway involves creating a certificate, configuring the IKEv2 settings in Azure, configuring the Virtual Appliance itself, and testing the VPN connection. It’s important to consider the limitations and security considerations when configuring this type of connection.
Create a Test VPN Connection – Share this – Azure Gateway
To create a test VPN connection with Azure Gateway, follow these steps:
Step 1: Export the Certificate
Before creating a test VPN connection, you need to export the certificate. This certificate is required for authentication when establishing the connection. You can use the certutil.exe command to export the certificate in encoded format. Copy the exported certificate to a location that can be accessed by the client machine.
Step 2: Configure VPN Connection Settings
To configure the VPN connection settings, open the Windows Settings and navigate to the Network & Internet section. In the VPN tab, click on “Add a VPN connection”. Enter a connection name, select the VPN type (e.g. SSTP, IKEv2), and specify the server name or IP address of the Azure Gateway. Provide any additional information required by your organization, such as group name or client authentication settings.
Step 3: Copy and Paste Certificate Information
To complete the configuration, copy the certificate information that was exported in step 1 and paste it into the appropriate fields in the VPN connection settings. This information includes the certificate name, root and intermediate certificate information, and any additional parameters required by your organization.
Step 4: Test the VPN Connection
Once the VPN connection settings have been configured, click on “Connect” to establish the test VPN connection. The connection status will be displayed, and you can verify that the connection is successful. This test connection can be used to validate the configuration before deploying it to other clients or in production environments.
Share this information with others
To share the test VPN connection settings with others, you can provide them with the Azure Gateway details, such as the server name or IP address. Additionally, you can share the exported certificate with them, enabling them to create the same VPN connection using the copied certificate information.
Download VPN Configuration – Virtual WAN – Limitations
The Virtual WAN in Azure provides organizations with a fully managed and highly resilient VPN gateway for their network connectivity needs. However, there are some limitations to consider when downloading the VPN configuration for the Virtual WAN.
Supported VPN Types
The Virtual WAN supports both point-to-site and site-to-site VPN configurations. For point-to-site VPN, the client certificate is used for authentication, while site-to-site VPN requires a certificate at both ends of the connection.
Downloading VPN Configuration
To download the VPN configuration, you need to follow a few steps. First, you need to access the Azure portal and locate the Virtual WAN resource, then go to the VPN settings. From there, you can download the VPN configuration file, which contains the necessary parameters for setting up the VPN connection.
Configuration Settings
The VPN configuration file includes settings such as the VPN gateway type, the VNet, the resource group, and the certificate information. It also includes information on the root and intermediate CA certificates, which are necessary for establishing the trust between the VPN client and the VPN gateway.
Limitations and Considerations
When using the Virtual WAN for VPN connections, there are some limitations to be aware of. First, only one VPN configuration can be active at a time, meaning that concurrent VPN connections are not supported. Additionally, the Virtual WAN gateway supports up to 500 point-to-site VPN clients and up to 10 site-to-site VPN connections. Therefore, it is important to plan the VPN configuration based on these limitations.
It is also worth noting that while the Virtual WAN is an excellent solution for supporting mobility and remote access, it does not support the DirectAccess feature. Organizations looking for DirectAccess functionality should consider other options, such as NetMotion or other vendors that support DirectAccess.
Conclusion
Downloading the VPN configuration for the Virtual WAN in Azure is a straightforward process that requires following a few steps. However, it is important to be aware of the limitations and considerations associated with the Virtual WAN, such as the supported VPN types, concurrent connections, and the lack of DirectAccess support. By understanding these limitations and planning accordingly, organizations can create and deploy VPN configurations that meet their specific needs, whether it be for hybrid deployments or remote access.
VPN Gateway – NetMotion Mobility – Export Certificate – Command Line
NetMotion Mobility is an always-on VPN solution that provides secure and optimized access to resources in your network. It allows for concurrent connections and supports deployments in hybrid and Azure environments.
To configure NetMotion Mobility with the VPN Gateway in Azure, you will need to export the certificate used by the gateway. This certificate is required for the secure communication between the mobile clients and the gateway.
The command line option is available to export the certificate. Using the command line, you can create a test VPN connection to verify the configuration. The exported certificate will be in an encoded format.
- Open the command console and type the command to export the certificate:
certutil -exportpfx -p <certificatePassword> -f -user <userCertStoreLocation> <certificateSerialNumber> <certificateFileName> - Replace <certificatePassword> with the password for the certificate, <userCertStoreLocation> with the location of the user certificate store (like ‘CurrentUser’), <certificateSerialNumber> with the serial number of the certificate, and <certificateFileName> with the desired name for the exported certificate file.
- Once the command is executed, the certificate will be copied to the specified file location.
The exported certificate can now be shared with NetMotion Mobility for further configuration and deployments. With this certificate and the necessary configuration options, you can create a secure and reliable VPN connection for your network.
Summary – Windows Server – Export Certificate – GUI
The ability to export certificates is an essential feature in maintaining the security and functionality of a Windows Server environment. With the graphical user interface (GUI) provided by Windows Server, exporting certificates becomes a straightforward process.
When exporting certificates using the GUI, administrators have the flexibility to export specific certificates or a certification authority’s (CA) root certificate. This capability is particularly useful for scenarios such as supporting remote connections, hybrid cloud deployments, or always-on VPN tunnels.
To export a certificate using the GUI, administrators can follow these steps:
- Open the Certificate console on the Windows Server.
- Locate the desired certificate or CA root certificate.
- Right-click on the certificate and choose the “All Tasks” option.
- Select the “Export” option, which will open the Certificate Export Wizard.
- Choose the export format, such as Personal Information Exchange – PKCS #12 (.PFX).
- Specify the export file name and location.
- Complete the export process, including setting a password for the exported certificate file if desired.
This GUI-based method for exporting certificates is fully compatible with various VPN and enterprise mobility scenarios. Once the certificate is exported, it can be copied to supporting devices or used for creating test VPN connections.
The exported certificates can be used for various types of VPN connections, whether it’s using IKEv2, SSTP, L2TP, or even vendors like OpenVPN, NetMotion, or DirectAccess. These certificates are also valuable when setting up a virtual private network (VPN) connection to a Azure VPN Gateway, a remote network appliance, or even a Windows Server acting as a VPN server.
In summary, the GUI export feature in Windows Server enables administrators to easily transfer certificates for use in different scenarios and deployments. Whether it’s for remote connections, VPN tunnels, or hybrid cloud architectures, the ability to export certificates with the GUI provides an essential tool for maintaining secure and reliable communication within an enterprise network.
Always On VPN Options for Azure Deployments – VPN Client Configuration
Configuring VPN Client Settings
To connect to an Azure VPN Gateway, the VPN client needs to be properly configured. This involves specifying the public IP address or DNS name of the VPN gateway, choosing the appropriate VPN type, and setting up the required authentication methods.
Available VPN Client Types
- Windows 10 VPN Client: The built-in VPN client on Windows 10 can be used to connect to the Azure VPN Gateway. This client supports various VPN protocols like SSTP, IKEv2, and PPTP.
- NetMotion Mobility Client: Another excellent VPN client option for Azure deployments is the NetMotion Mobility client. It offers secure and reliable connectivity for remote clients, including support for split tunneling and route-based VPN connections.
Creating VPN Client Certificates
When configuring a VPN client, a certificate is often required for authentication. This certificate can be issued by an enterprise Certificate Authority (CA) or by using a self-signed certificate. To create a client certificate, you can either export an existing certificate from the CA or generate a new one using OpenSSL.
Configuring VPN Connection Parameters
Once the VPN client and certificate are in place, the connection parameters must be configured. These include the VPN gateway address, VPN type, authentication method, and other security settings. These parameters can be set on the VPN client software, allowing for easy management and deployment across multiple devices.
Summary of VPN Client Configuration
In summary, there are several options for configuring VPN clients for Azure deployments. The Windows 10 VPN client and NetMotion Mobility client offer excellent mobility and security features. Additionally, certificates can be used for authentication, and the VPN connection parameters can be easily managed and deployed across multiple devices.
Copy Public Key – Point-to-Site Configuration
In client-based VPN configurations, the client initiates a VPN connection to the Azure VPN Gateway using an OpenVPN-based client. The connection is established using the Secure Socket Tunneling Protocol (SSTP) or the Internet Key Exchange version 2 (IKEv2) protocol. This type of VPN connection is also known as a point-to-site (P2S) connection.
Before configuring the point-to-site connection, a certificate is needed to authenticate the client. The certificate can be self-signed or issued by a trusted certification authority. The public key of the certificate is copied and shared with the Azure VPN Gateway.
Once the certificate has been created, it can be exported and the public key can be copied. The public key is then encoded to be used in the point-to-site configuration. This information is necessary to establish a secure connection between the client and the Azure VPN Gateway.
In Azure, the point-to-site configuration can be done through the Azure portal or by using Azure PowerShell. The configuration includes specifying the virtual network (VNet), the name of the VPN connection, the client IP address range, and other parameters such as security policy and routing options.
When configuring the point-to-site connection, it is recommended to use the “Route-based” VPN gateway SKU for better performance and scalability. This SKU supports both SSTP and IKEv2 protocols. However, if the client requires specific settings or if there are limitations with the client’s operating system, the “Policy-based” VPN gateway SKU can also be used.
Like this – Additional Information
Root and Public Certificate

When setting up an Always On VPN with Azure VPN Gateway, a root certificate is required for secure communication. This certificate is issued by a certification authority (CA) and is used to validate the authenticity of the public certificate. The public certificate, on the other hand, is used for encryption and is installed on the VPN client and VPN server.
Exporting Certificates
To export the root and public certificate, follow the necessary steps outlined in the documentation. The exported certificate files can then be copied to the desired location for further use.
Creating a Test VPN Connection
To test the functionality of the Always On VPN connection, a test VPN connection can be created. This can be done using a graphical user interface (GUI), or through command line options. Once the test connection is created, it can be used to verify the configuration and ensure that the VPN connection is working as expected.
Additional Scenarios and Limitations
In addition to Always On VPN, there are other VPN types and scenarios that organizations can consider for their remote connectivity needs. Some of these include point-to-site VPN, site-to-site VPN, OpenVPN, and more. However, it is important to note that each VPN type has its own limitations and may not be suitable for all deployment scenarios.
Internal and External Certificates
When working with Azure VPN Gateway, it is essential to understand the difference between internal and external certificates. Internal certificates are used for VPN connections within the organization’s network, while external certificates are used for connections outside of the organization’s network, such as remote access from mobile devices.
Additional Information and Parameters

When configuring the Always On VPN device tunnel, there are additional parameters and options that can be customized to meet the organization’s specific requirements. These parameters include connection type, certificate type, concurrent tunnels, and more. It is important to carefully consider these options to ensure the VPN deployment is tailored to the organization’s needs.
Additional Security Options
In addition to Azure VPN Gateway, organizations can explore other security options to enhance their remote connectivity. One such option is NetMotion Mobility, which offers excellent security features and advanced mobility support. NetMotion Mobility can be used alongside Azure VPN Gateway to provide a more robust and secure remote access solution.
Always On VPN and Cloud Deployments
Always On VPN is an ideal choice for organizations that require secure remote access to their cloud environments. With Always On VPN, organizations can connect their on-premises network to the cloud, ensuring secure and reliable connectivity for employees accessing cloud resources.
Create an Always On VPN Connection – Root CA Certificate
When setting up an Always On VPN connection with Azure VPN Gateway, one of the key steps is to create and export the Root CA certificate. This certificate is used for authentication and security purposes in route-based VPN deployments.
To create the Root CA certificate, you have several options. One option is to use a certification authority (CA) to issue the certificate. Another option is to create a self-signed certificate using OpenSSL or a similar tool. Whichever option you choose, it is important to ensure the certificate meets the requirements of your VPN deployment.
Once the Root CA certificate has been created, it needs to be exported so that it can be deployed on the VPN clients. There are different methods for exporting the certificate, including using the certificate management GUI or PowerShell command line. The certificate should be exported in a format that can be easily copied to the client devices, such as .pfx or .cer.
After the Root CA certificate has been exported, it can be deployed to the VPN clients. This can be done manually by copying the certificate to each client device, or it can be done using a Mobile Device Management (MDM) solution for larger deployments.
It is important to configure the VPN clients to use the Root CA certificate for authentication. This can be done in the VPN client configuration settings. The certificate should be specified as the trusted root certification authority.
Overall, creating and deploying the Root CA certificate for an Always On VPN connection is an excellent security measure. It ensures that the VPN clients can trust the VPN servers, and helps to protect against unauthorized access.
Azure VPN client – Hybrid Deployments
The Azure VPN client allows for hybrid deployments by providing a point-to-site VPN connection from your on-premises network to your Azure virtual network. This client-based connection enables you to securely access resources in your cloud environment from your local network.
How to configure the Azure VPN client
To configure the Azure VPN client, you need to follow these steps:
- Export the certificate from the console of the CA server.
- Copy the encoded certificate to a file.
- Download the certificate file.
- Configure the Azure VPN client using the downloaded certificate.
The recommended way to configure the Azure VPN client is by using the Azure portal, though it is also possible to use PowerShell scripts. Using the Azure portal, you can easily set up the necessary parameters and settings for your VPN connection.
Hybrid deployment options
With the Azure VPN client, you have several options for hybrid deployments, including:
- SSTP (Secure Socket Tunneling Protocol)
- OpenVPN
- Point-to-Site VPN
- Route-based VPN
Choosing the appropriate deployment option depends on your specific requirements and network configuration.
Summary

In summary, the Azure VPN client provides a flexible and secure way to connect your on-premises network to your Azure virtual network. By using the Azure portal or PowerShell scripts, you can easily configure the necessary settings and parameters for your VPN connection. The various hybrid deployment options offer flexibility and scalability to meet your specific needs.
FAQ:
What is Always On VPN Device Tunnel?
Always On VPN Device Tunnel allows devices to automatically establish a VPN connection upon boot. It provides a persistent connection for remote management and enables other services such as Windows Update and antivirus software to receive regular updates when the user is not logged in. It is particularly useful for devices that are constantly on and need to stay connected to the corporate network.
What is the purpose of exporting the certificate?
Exporting the certificate is necessary to install it on the client devices that will be connecting to the VPN. The certificate is used to authenticate the client and establish a secure connection. By exporting and installing the certificate, the client device can establish the VPN connection without any certificate errors or warnings.
How do I create a test VPN connection?
To create a test VPN connection, you can follow the steps outlined in the article. Firstly, ensure that you have the necessary certificates and configuration settings. Then, open the Network & Internet settings on your device and navigate to the VPN section. Click on “Add a VPN connection” and fill in the required fields such as the VPN provider, server name, and authentication method. Finally, click on “Save” to create the test VPN connection. You can then attempt to connect to the VPN and verify if it is working correctly.
Can I use Azure VPN Gateway with other VPN protocols?
Yes, Azure VPN Gateway supports multiple VPN protocols including IKEv2, SSTP, and OpenVPN. While the article focuses on configuring a Device Tunnel using the IKEv2 protocol, you can choose the VPN protocol that best suits your needs. It is recommended to consult the Azure documentation for detailed instructions on configuring different VPN protocols with the Azure VPN Gateway.
Videos:
Windows 10 Always On VPN Device Tunnel Deployment with Microsoft Intune
Windows 10 Always On VPN Device Tunnel Deployment with Microsoft Intune by Richard M. Hicks 4 years ago 2 minutes, 9 seconds 6,325 views
Connect your on premises network to Azure with VPN Gateway
Connect your on premises network to Azure with VPN Gateway by Ed Goad 2 years ago 23 minutes 18,116 views