This blog post is intended to provide technical guidance on how to deploy Multi-Factor Authentication (MFA) with Google Authenticator (CAPTCHA) using Kemp LoadMaster load balancer to a Microsoft Exchange backend application server(s). This will leverage the Kemp Edge Security Pack (ESP) standard functionality.
The blog post focuses on integration with Google Authenticator (CAPTCHA) using the HMAC-based Onetime Password algorithm using LinOTP via RADIUS.
More information on Google Authenticator is available here. More information on Google CAPTCHA v2 account is available here. More information on LinOTP is available here.
High Level Overview

In the architecture above you can see a diagram of the components involved in this flow. These are described as follows:
Configuration RequirementsThis section outlines the configuration requirements to enable this functionality:
LinOTP Configuration This section outlines the LinOTP configuration that is required to support this:


5. Using the Google Authenticator app to scan the 2D barcode that is presented.

Kemp LoadMaster Configuration
This section outlines the Kemp LoadMaster configuration that is required to support this:


Authentication with Google AuthenticatorThis section outlines the screens that user will be presented with as part of the workflow.
The Kemp LoadMaster will present the initial login page including the Google Authenticator CAPTCHA. The CAPTCHA presented will depend on how it has been configured in your Google account.
The Username / Password is that which has been configured on the LinOTP server.

Once the Username, Password and CAPTCHA are verified, the Kemp LoadMaster will request a pin. This pin is the 6-digit one-time password from your Google Authenticator Application.


The pin will be verified by LinOTP and once successful will allow access to the Microsoft Exchange farm on the backend.
David O’Connor is a Product Manager in Kemp working in Limerick, Ireland. He holds a bachelor’s degree in Computer Engineering from University of Limerick. David has a telecoms background with previous roles in development, customer support and presales with a focus on product-market fit and creating tech products that customers love.
more from the author