Firebox Access Portal Integration with Duo and AuthPoint

This document describes how to set up multi-factor authentication (MFA) for your Firebox Access Portal with Duo and AuthPoint.

Duo Single Sign-On is a cloud-hosted single sign-on solution. In this integration, Duo integrates with AuthPoint as an identity provider (IdP) and your Firebox Access Portal as the service provider (SP). AuthPoint provides the primary authentication and Duo SSO completes the secondary authentication.

Duo Single Sign-On does not officially support single logout (SLO).

Contents

Integration Summary

The hardware and software used in this guide include:

  • Duo
  • Duo Security Authentication Proxy
  • Firebox with Fireware v12.11 or higher
  • A token is assigned to a user in AuthPoint

Topology

This diagram shows the data flow of an MFA transaction for the Firebox Access Portal.

Duo-Active-Directory_Topology diagram

Before You Begin

Before you begin these procedures, make sure that:

Additional charges might apply to use Duo.

Configure the Firebox Access Portal

To configure the Access Portal, complete these steps:

  1. Enable Access Portal
  2. Enable the Firebox SAML Authentication Server
  3. Add Users or Groups for the SAML Authentication Serve
  4. Access Portal User Connection Settings

Enable Access Portal

To enable Access Portal on the Firebox:

  1. Log in to Fireware Web UI at: https://<your Firebox IP address>:8080.
  2. Select Subscription Services > Access Portal.
  3. Select the Enable Access Portal check box.
  4. To create an application, select Add > Web Application.
    The Add Web Application page opens.
  5. In the Name text box, type a name for the web application.
  6. In the URL text box, type the URL for the web application. This URL must be publicly resolvable.
  7. Keep the default values for all other settings.
  8. Click OK.
  9. (Optional) Repeat Steps 4–8 to create additional web applications.
  10. Click Save.

For more information on how to add web applications and application groups to the Access Portal, go to Configure the Access Portal.

Enable the Firebox SAML Authentication Server

To enable the Firebox SAML authentication server, from Fireware Web UI:

  1. From the navigation menu, select Authentication > Servers.
    The Authentication Servers page opens.
  2. Click SAML.
    The SAML settings page opens.
  3. Screenshot of enable SAML-Authentication-Server

  4. Select the Enable SAML check box.
  5. In the IdP Name text box, type a name for the identity provider. In our example, we type Duo-SAML.
  6. In the Host Name text box, type the fully qualified domain name that resolves to the Firebox external interface.
  7. Keep the IdP Metadata URL text box blank for now. You specify this when you Complete Firebox Access Portal Setup.
  8. Keep the default value for Group Attribute Name.
  9. Click Save.
    The SAML authentication server you added appears in the list of authentication servers.
  10. SAML-Authentication enabled on Firebox

Add Users or Groups for the SAML Authentication Server

To configure users and groups for the SAML authentication server, from Fireware Web UI:

  1. From the navigation menu, select Authentication > Users and Groups.
  2. Click Add.
    The Add User or Group page opens.
  3. Screenshot of add User or Group

  4. For Type, select Group.

    To manage users, you can add a group that matches an AuthPoint user group, or you can add a user with a name that matches an AuthPoint user name. In our example, we add a group, but you can add a user instead.

  5. In the Name text box, type your group name. This group name must exactly match your AuthPoint group name. This is case–sensitive.
  6. From the Authentication Server drop-down list, select the SAML authentication server you created. In this example, we select Duo-SAML.
  7. Click OK.
  8. Click Save.

Configure Access Portal User Connection Settings

To configure the Access Portal User connection settings, from Fireware Web UI:

  1. Select Subscription Services > Access Portal.
    The Access Portal page opens.
  2. Select the User Connection Settings tab.
    The User Connection Settings page opens.
  3. Screenshot of User-Connection-Settings

  4. In the Authentication Servers section, from the Authentication Server drop-down list, select the SAML authentication server you created. In this example, we select Duo-SAML.
  5. Next to the SAML authentication server you selected, click Add.
  6. In the User Access section:
    • To specify which users and groups can access which applications, select the Specify the Applications Available to Each User and Group check box.
    • To give all users and groups permission to connect to all applications, keep the default option All Applications Are Available to All Users and Groups Authenticated with the Access Portal selected.
  7. To specify the applications available to each user and group, click Add.
    The Add User or Group page opens.
  8. Screenshot of the group's permitted applications

  9. From the Authentication Server drop-down list, select the SAML authentication server you created. In this example, we select Duo-SAML.
  10. From the Type drop-down list, select Group.
  11. You can select a specific user or a specific group. In our example, we select a group, but you can select a user instead.

  12. In the Name text box, type the group name you created in the Configure Users or Groups for the SAML Authentication Server section.
  13. Select the applications you want to be available to this group.
  14. Click OK.
  15. Click Save.
  16. Copy the SP Metadata URL, then click Done.
  17. Open a web browser and go to the SP Metadata URL at https://<Host name or Firebox IP address>/auth/saml.
    If you configure an Access Portal port other than 443, you must navigate to https://<Firebox interface IP address or Host name>:custom port number/auth/saml.
  18. Several Firebox features use SSL/TLS for secure communication. For more information, go to Shared Settings and Policy.

    Screenshot of the metadata URL of the Access Portal

  19. From the Option 2 section, copy the values of these parameters to use when you configure the Firebox Access Portal as a service provider in Duo:
    • SAML Entity ID
      https://host name/auth/saml
    • Assertion Consumer Service (ACS) URL
      https://host name/auth/saml/acs
    • Single Logout Service (SLS) URL
      https://host name/auth/saml/sls
  20. To download the X.509 Certificate, click Download Certificate.

Download Metadata File from AuthPoint

The metadata provides your resource with the information necessary to identify AuthPoint as a trusted identity provider.

To download the metadata file from the AuthPoint management UI:

  1. Log in to WatchGuard Cloud.
  2. From the navigation menu, select Configure > AuthPoint. If you have a Service Provider account, you must select an account from the Account Manager.
  3. Select Resources.

    The Resources page opens.
  4. Screenshot of the AuthPoint Resources page

  1. Click Certificate.

    The Certificates page opens.
  2. Screenshot that shows the options to download the metadata and certificate on the AuthPoint Certificates page.

  1. Next to the AuthPoint certificate you want to associate with your resource, click , then select Download Metadata and Download Certificate. We recommend that you select the certificate with the latest expiration date.
  2. Open the metadata file you downloaded and copy the values of these parameters to use when you configure AuthPoint as an identity provider in Duo:entityID
    • EntityID
    • SingleLogoutService Location
    • SingleSignOnService Location

Configure Duo

To configure Duo, complete these steps:

  1. Configure AuthPoint as an Identity Provider in Duo
  2. Add Users and Groups in Duo
  3. Configure Firebox Access Portal as a Service Provider in Duo

Configure AuthPoint as an Identity Provider in Duo

After you download the metadata file from the AuthPoint management UI, you can configure AuthPoint as an identity provider in Duo.

To configure AuthPoint as an identity provider in Duo:

  1. Log in to the Duo Admin Panel.
  2. From the navigation menu, select Applications > SSO Settings.
  3. Screenshot of SSO Settings in the navigation menu

  4. In the Configured Authentication Sources section, click Add Source.
    The Add Authentication Source page opens.
  5. Screenshot of the Add Authentication Source page

  1. Click Add SAML Identity Provider.
    The SAML Identity Provider Configuration page opens.
  2. Screenshot of the SAML-Identity-Provider configuration

  3. From the 1. Configure the SAML Identity Provider section, copy the values of the Entity ID and Assertion Consumer Service URL parameters to use when you Add a SAML Resource in AuthPoint.
  4. In the 3. Configure Duo Single Sign-On section:
    1. In the Display Name text box, type a name to identify AuthPoint as an identity provider in Duo. In this example, we use WatchGuard AuthPoint.
    2. In the Entity ID text box, type or paste the entityID value you copied from the AuthPoint metadata file in the Download Metadata File From AuthPoint section.
    3. In the Single Sign-On URL text box, type or paste the SingleSignOnService Location value you copied from the AuthPoint metadata file in the Download Metadata File From AuthPoint section.
    4. In the Single Logout URL text box, type or paste the SingleLogoutService Location value you copied from the AuthPoint metadata file in the Download Metadata File From AuthPoint section.
    5. To upload the certificate from your identity provider, click Browsee and upload the AuthPoint certificate you downloaded in the Download Metadata File From AuthPoint section.
    6. Keep the default values for all other settings.

      Screenshot of Duo Single Sign-On configuration

  1. Click Save.
  2. Click Yes, Enable This Source.
  3. From the navigation menu, select Applications > Routing Rules.
    The Routing Rules page opens.
  4. Screenshot of Duo Single Sign-On Routing Rules page

  5. From the Use This Authentication Source drop-down list, select the authentication source you just added. In this example, we select WatchGuard AuthPoint.
  6. By default, your primary authentication source is configured as an authentication source for your routing rule. For additional authentication sources, make sure to set the default rule to the SAML authentication source you need. Alternatively, you can add a routing rule. For more information, go to How to Use Duo Single Sign-On in the Duo documentation.

  7. Click Save.

Add Users and Groups in Duo

If you want to restrict access to the Authentication Portal to only certain Duo users, you can add those users to a group.

To create a new user and group in Duo:

  1. Log in to the Duo Admin Panel.
  2. From the navigation menu, select Users > Groups.
  3. Click Add Group.
    The Add Group page opens.
  4. Screenshot of Duo, Add a group

  5. In the Group Name text box, type a group name. In this example, we use SAMLTest.
  6. Click Add Group.
  7. From the navigation menu, select Users > Users.
  8. Click Add User.
    The Add User page opens.
  9. In the Username text box, type a user name. The Duo user name should match the user name in AuthPoint.
  10. Click Add User.
    The user settings page opens.
  11. Screenshot of Duo, Add a user

  12. In the Display Name text box, type a display name.
  13. In the Email Address text box, type the Duo user email address. The email address does not have to be the same as the AuthPoint user email address.
  14. For Groups, select the group you created. In this example, we select SAMLTest.
  15. Keep the default values for all other settings.
  16. Click Save Changes.

After you save changes, you must enroll the users and activate Duo Mobile. For more information, go to the Duo enrollment documentation.

Configure the Firebox Access Portal as a Service Provider in Duo

To add a SAML application and configure the Firebox Access Portal as a service provider in Duo:

  1. Log in to the Duo Admin Panel.
  2. From the navigation menu, select Applications > Protect an Application.
    The Protect an Application page opens.
  3. Screenshot of Duo - Protect an Application page

  4. From the application list, for the Generic SAML Service Provider application, click Protect.
    The Generic SAML Service Provider - Single Sign-On page opens.
  5. Screenshot of Duo Generic-SAML-Service-Provider SSO page

  6. (Optional) In the Application Name text box, type a name for this SAML application.
  7. For User Access:
    • To provide access to specific groups, select Enable Only For Permitted Groups, and select the group you created in the Add Users and Groups in Duo section. In this example, we select SAMLTest.
    • To provide access to all the users, select Enable For All Users.

      By default, no users are assigned to the application. This setting applies to only users who exist in Duo with the Active status.


  8. From the Metadata section, copy the value of the Metadata URL parameter. You need this value to Complete Firebox Access Portal Setup.
  9. In the Service Provider section, from the Metadata Discovery drop-down list, select None (Manual Input).

    Screenshot of Service Provider configuration section

  10. Type or paste the Entity ID, Assertion Consumer Service (ACS) URL, and Single Logout URL values you copied in the Configure Access Portal User Connection Settings section.
  11. In the SAML Response section, from the NameID Format drop-down list, select urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified.
  12. From the NameID Attribute drop-down list, select <Username>.
  13. In the Assertion Encryption section:
    1. Select the Encrypt the SAML Assertion check box.
    2. For Existing Certificate, click Browse and upload the Access Portal certificate you downloaded in the Configure Access Portal User Connection Settings section.
    3. From the Assertion Encryption Algorithm drop-down list, select AES256-CBC.

      Screenshot of SAML Response configuration section

  14. (Optional) If you want to use user authentication, skip to Step 14.
  15. For Map Attributes:
    1. From the IdP Attribute drop-down list, select Enter Custom Value, then type an attribute name. In our example, we type Groupname.
    2. In the SAML Response Attribute text box, type memberOf.
  16. Screenshot of Map Attributes configuration section

    For SAML Response Attribute, memberOf is the default Group Attribute Name in the IdP settings when you enable SAML on the Firebox. You can edit it as you want.

  17. Keep the default values for all other settings.
  18. Click Save.

Complete Firebox Access Portal Setup

  1. Log in to Fireware Web UI at: https://<your Firebox IP address>:8080
  2. From the navigation menu, select Authentication > Servers.
  3. Click the SAML tab.
    The SAML settings page opens.
  4. In the IdP Metadata URL text box, paste the value of the Metadata URL parameter you copied in the Configure Firebox Access Portal as a Service Provider in Duo section.
  5. SAML Authentication Server IDP Metadata URL

  6. Click Save.

Configure AuthPoint

To configure AuthPoint:

  1. Add a SAML Resource in AuthPoint
  2. Add a Group in AuthPoint
  3. Add an Authentication Policy to AuthPoint
  4. Add Users to AuthPoint

Add a SAML Resource in AuthPoint

From the AuthPoint management UI:

  1. From the navigation menu, select Resources. Click Add Resource.
    The Add Resource page opens.

  1. From the Type drop-down list, select SAML.
    Additional fields appear.

  1. In the Name text box, type a name for this resource.
  2. From the Application Type drop-down list, select Others.
  3. In the Service Provider Entity ID text box, type or paste the EntityID value you copied in the Configure AuthPoint as an Identity Provider in Duo section.
  4. In the Assertion Consumer Service text box, type or paste the Assertion Consumer Service URL you copied in the Configure AuthPoint as an Identity Provider in Duo section.
  5. From the User ID Sent On Redirection To Service Provider drop-down list, select User Name.
  6. From the Signature Method drop-down list, select SHA-256.
  7. From the AuthPoint Certificate drop-down list, select the certificate to associate with your resource. This must be the same certificate that you downloaded the metadata for in the Download Metadata File From AuthPoint section.
  8. From the Custom Attributes section, click Add Attribute.
  9. AuthPoint Custom Attributes page with Add a Group attribute

  10. In the Attribute Name text box, type Username.
  11. From the Get Value From drop-down list, select User Name.
  12. Click Save.
  13. (Optional) If you want to use user authentication, skip to Step 19.
  14. Click Add Attribute again.
  15. In the Attribute Name text box, type the attribute name you created in the Configure the Firebox Access Portal as a Service Provider in Duo section section. In our example, we type Groupname.
  16. From the Get Value From drop-down list, select User Groups.
  17. To save the attribute, click Save.
  18. To save the resource, click Save.

Add a Group in AuthPoint

You must have at least one user group in AuthPoint. If you already have a group, you do not have to add another group.

To add a WatchGuard Cloud-hosted group to the WatchGuard Cloud Directory:

  1. Go to Configure > Directories and Domain Services.
  2. Click the WatchGuard Cloud Directory domain name. If you have not yet added the WatchGuard Cloud Directory, click Add Authentication Domain and select the WatchGuard Cloud Directory.
    The New Group page appears.

Screenshot that shows the Directories and Domain Services page.

  1. In the Groups tab, click Add Group.
  2. In the Group Name text box, type a descriptive name for the group.
  3. (Optional) In the Description text box, type a description of the group.

Screen shot of the Add Group page.

  1. Click Save.
    Your group is added to the WatchGuard Cloud Directory and to AuthPoint.

Add an Authentication Policy to AuthPoint

Authentication policies specify which resources users can authenticate to.

You must have at least one authentication policy in AuthPoint that includes the WatchGuard resource. If you already have authentication policies, you do not have to create a new authentication policy. You can add this resource to your existing authentication policies.

Users that do not have an authentication policy for a specific resource cannot authenticate to log in to that resource.

To configure an authentication policy:

  1. From the navigation menu, select Authentication Policies.
  2. Click Add Policy.
    The Add Policy page opens.
  3. Screenshot of AuthPoint Add Policy page

  4. In the Name text box, type a name for this policy.
  5. From the Select the Authentication Options drop-down list, select Authentication Options.
  6. Select the Password check box.
  7. For Groups, select which groups this policy applies to. You can select more than one group. To configure this policy to apply to all groups, select All Groups.
  8. For Resources, select the resource that you created in the Add a SAML Resource in AuthPoint section. If you want this policy to apply to additional resources, select each resource this policy applies to. To configure this policy to apply to all resources, select All Resources.
  9. (Optional) If you have configured policy objects such as Network Location, select which policy objects apply to this policy. When you add a policy object to a policy, the policy only applies to user authentications that match the conditions of the policy objects. For example, if you add a Network Location to a policy, the policy only applies to user authentications that come from that Network Location. Users who only have a policy that includes a Network Location do not get access to the resource when they authenticate outside of that Network Location (because they do not have a policy that applies, not because authentication is denied).
  1. Click Save.
    Your policy is created and added to the end of the policy list.

When you create a new policy, we recommend that you review the order of your policies. AuthPoint always adds new policies to the end of the policy list.

Add Users to AuthPoint

Before you assign users to a group, you must add the users to AuthPoint. There are two ways to add AuthPoint user accounts:

  • Sync users from an external user database
  • Add WatchGuard Cloud-hosted AuthPoint users

Each user must be a member of a group. You must add at least one group before you can add users to AuthPoint.

Test the Integration

To test your Firebox Access Portal authentication integration with AuthPoint and Duo, you can authenticate with three methods: push, passkey, or phone call. In this example, we use the push authentication method. For more information about Duo Two-Factor Authentication, go to Two-Factor Authentication Guidelines in the Duo documentation.

If you do not create a user in Duo, a user is automatically created in Duo when you log in to Access Portal with SSO.

To test multi-factor authentication for your Access Portal with Duo and AuthPoint:

  1. In a web browser, go to the Access Portal URL: https://<Host Name of Firebox SAML Authentication Server>.
    The login page opens with a button for the SAML authentication server you configured.
  2. Screenshot of Access Portal login page

  3. To log in, click the button for the SAML authentication server you created. In this example, we select Duo-SAML.
  4. Type your email address or AuthPoint user name, then click Next.
  5. In the Password text box, type your password.
  6. Click Finish.
    Duo SSO prompts you to complete two-factor authentication.
  7. Screenshot of Duo Push

  8. Approve the push notification on your Duo Mobile app.
  9. Tap Yes, This is My Device.
    You are logged in to the Access Portal.
  10. Screenshot of Duo Push approved

    Screenshot of Access Portal Web UI