Firebox Mobile VPN with SSL Integration with Azure AD Users

Deployment Overview

WatchGuard provides integration instructions to help our customers configure WatchGuard products to work with products created by other organizations. If you need more information or technical support about how to configure a third-party product, see the documentation and support resources for that product.

This document describes how to set up Active Directory authentication for Mobile VPN with SSL.

Integration Summary

The hardware and software used in this guide include:

  • Firebox with Fireware v12.7.1
  • Microsoft Azure

Topology

This topology diagram shows the data flow for Active Directory authentication with a WatchGuard Firebox and Azure AD Domain Services.

Topology diagram

Before You Begin

Before you begin these procedures, make sure that:

  • You have an Azure Active Directory global administrator account within the Azure Active Directory tenant
  • You have an active Azure subscription
  • You have created and configured Azure Active Directory Domain Services (Azure AD DS)

Configure Azure

The steps in this section cover how to configure Azure AD.

Configure Secure LDAP

  1. Log in to the Azure portal with your Microsoft Azure account credentials.
  2. Click Resource groups.
  3. Select your Azure AD Domain Services resource group.
  4. Click the Azure AD Domain Services.

Screenshot of Azure, picture1

  1. Select Settings > Secure LDAP.
  2. Enable the Secure LDAP toggle.
  3. Enable the Allow secure LDAP access over the internet toggle.
  4. Next to the .PFX file with secure LDAP certificate text box, click the folder icon and upload your certificate. For information about how to create and export the certificate, see Configure Secure LDAP in the Microsoft documentation.
  5. In the Password to decrypt .PFX file text box, type the password.

Screenshot of Azure, picture2

  1. Click Save.

Screenshot of Azure, picture3

  1. Select Properties.
  2. Copy the Secure LDAP external IP addresses value. You need this information when you configure the Firebox.

Screenshot of Azure, picture4

Configure a Security Rule on Azure

  1. In the Azure portal, click Resource groups.
  2. Select your Azure AD Domain Services resource group.
  3. Select the network security group.
  4. Select Settings > Inbound security rules > Add.
  5. From the Source drop-down list, select IP Addresses.
  6. In the Source IP addresses/CIDR ranges text box, type the public IP address or range for your environment.
  7. From the Destination drop-down list, select Any.
  8. From the Service drop-down list, select Custom.
  9. In the Destination port ranges text box, type 636.
  10. For Protocol, select TCP.
  11. In the Priority text box, type a number between 100 and 4096. In our example, we type 311.
  12. In the Name text box, type a name.
  13. Leave the default value for all other settings.
  14. Click Add.

Screenshot of Azure, picture5

Add an Azure Group and User

  1. Go back to the Azure home page.
  2. Click Azure Active Directory.
  3. Select Manage > Groups.
  4. Click + New group.
  5. From the Group type drop-down list, select Security.
  6. In the Group name text box, type a group name.
  7. From the Membership type drop-down list, select Assigned.

Screenshot of Azure, picture6

  1. Click Create.
  2. To add a user in Azure, select Manage > Users.
  3. Click + New user and enter your user information.

Screenshot of Azure, picture7

  1. Click Create.

Users must change their passwords before they can use Azure AD DS. The password change process causes the password hashes for Kerberos and NTLM authentication to be generated and stored in Azure AD. The account is not synced from Azure AD to Azure AD DS until the password is changed. It might take a few minutes after the password change before the new password can be used in Azure AD DS.

Configure the Firebox

You must configure the Active Directory authentication settings and enable Mobile VPN with SSL on your Firebox.

Configure Active Directory Authentication

  1. Log in to Fireware Web UI (https://<your Firebox IP address>:8080).
  2. Select Authentication > Servers.
    The Authentication Servers page opens.

Screenshot of Firebox, diagram1

  1. From the Authentication Servers list, click Active Directory.
    The Active Directory page opens.
  2. Click Add.
  3. Click Next.
  4. In the Domain Name text box, type the domain name for this Active Directory server. You cannot change the domain name after you save the settings.

Screenshot of Firebox, diagram2

  1. Click Next.
  2. In the Server Address text box, type or paste the secure LDAP external IP address you copied in the previous section.
  3. Select the Enable secure SSL connections to your Active Directory server (LDAPS) check box.

Screenshot of Firebox, picture3

  1. Click Next.
  2. Click Finish.

Configure Mobile VPN with SSL

  1. Select VPN > Mobile VPN.
  2. In the SSL section, click Manually Configure.

Screenshot of Firebox, diagram4

  1. Select the Activate Mobile VPN with SSL check box.
  2. In the Primary text box, type the public IP address (external IP address) or domain name of the Firebox. This is the IP address or domain name that Mobile VPN with SSL clients connect to by default.
  3. Click Save. When you save your changes, a default SSLVPN-Users user group is added.
  4. Select the Authentication tab.
  5. From the Authentication Server drop-down list, select the authentication server you created. Click Add.
  6. In the Authentication Server list, select your authentication server and click Move Up to move it to the top of the list to make it the default authentication server.
    Mobile VPN with SSL uses the default authentication server unless a user specifies a different authentication server in the Username text box on the Mobile VPN with SSL client.
  7. In the Users and Groups section, from the Create new drop-down list, select the authentication server you created.
  8. From the adjacent drop-down list, select Group.

    You can add a user or a group. In our example, we add a group.

  9. Click Add to add a group to authenticate.
  10. For Type, select Group.
    The Add User or Group dialog box opens.
  11. In the Name text box, type a name for the group. The name of this group must match the name of the Azure AD group your users belong to. If you use the default SSLVPN-Users group name, you must add an SSLVPN-Users group to Azure AD.

    If you add a user, the name of the user must match the name of the Azure AD user.

  12. From the Authentication Server drop-down list, select your authentication server.
  13. Click Save.

Screenshot of Firebox, diagram5

  1. Click Save.

Test the Integration

To test the integration of Azure AD Users and the WatchGuard Mobile VPN with SSL.

  1. Open your Mobile VPN with SSL client.
  2. In the Server text box, type the external IP address of Firebox.
  3. Type your Azure AD user name and password.
  4. Click Connect.
    You are connected successfully.

Screenshot of WatchGuard SSL client