Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Present an authentication form from Kemp LoadMaster

  • January 17, 2019
  • 6 min read
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.

Some web services don’t include an authentication feature such as a form or SSO. When these web applications are accessible from the Internet through Kemp, it’s a huge security issue. To solve that, Kemp provides ESP (Edge Security Pack).

Thanks to ESP, an authentication form is presented to clients before accessing the web applications.

wp-image-10723

The Kemp ESP provides the following features (copied from Kemp documentation):

  • End point authentication for pre-authentication
  • Persistent logging and reporting for user logging
  • Single Sign-On (SSO) across Virtual Services
  • LDAP Authentication from the LoadMaster to the Active Directory
  • Basic authentication communication from a client to the LoadMaster
  • Dual-factor authentication

In this topic, we’ll see how to configure ESP on a virtual service and how to allow only users that belong to an Active Directory Group.

Active Directory configuration

In my domain SeromIT.local, I’ve created a group called GG-RemoteAccess. It’s a usual global security group. You can create a specific group for each Kemp virtual services to manage applications access from Active Directory.

wp-image-10724

Create also a user account with classic user permissions to allow Kemp to parse the Active Directory. I called my account sa-klb-connect.

wp-image-10725

Configure Kemp LDAP endpoint

Connect to Kemp LoadMaster GUI and navigate to Certificates & Security | LDAP Configuration. In Add new LDAP Endpoint field, provide a name and click on Add.

wp-image-10726

In LDAP Server(s) field, provide Domain Controller IP addresses separated by space. If you want to connect to Active Directory through SSL, configure LDAP protocol. Then specify the AD account that you have previously connected to parse the Active Directory.

wp-image-10727

Configure Kemp SSO Domain

In Kemp LoadMaster GUI, navigate to Virtual Services | Manage SSO. In Add new Client Side Configuration field, specify a name and click on Add. I called mine SeromIT.local.

wp-image-10728

Configure the fields as the following:

  • Authentication Protocol: LDAP
  • LDAP Endpoint: the LDAP endpoint you previously created
  • Domain/Realm: the domain name
  • Login Format: Principalname

Leave other fields to default and enable Use LDAP endpoint for Healthcheck.

wp-image-10729

Configure virtual service

Now open the settings of the virtual service you want to configure. Navigate to ESP options. Enable ESP and configure as the following:

  • Client authentication mode: Form Based
  • SSO Domain : the domain you previously created
  • Allowed Virtual Hosts: *.mydomain.com
  • Allowed Virtual Directories: /*
  • Permitted Groups: the group you created in Active Directory

You can get further information about each field in the following documentation:

wp-image-10730

Now when I try to access to this virtual service, I have the following authentication form:

wp-image-10731

When I’ve specified credentials, I access to my service:

wp-image-10732

Conclusion

Kemp ESP can enhance the security level of your web applications by moving the auth provider from the web app to Kemp. Instead of authenticate on your web application, Kemp ESP enables to authenticate on your load balancer before accessing to the web service.

 

Hey! Found Romain’s insights useful? Looking for a cost-effective, high-performance, and easy-to-use hyperconverged platform?
Taras Shved
Taras Shved StarWind HCI Appliance Product Manager
Look no further! StarWind HCI Appliance (HCA) is a plug-and-play solution that combines compute, storage, networking, and virtualization software into a single easy-to-use hyperconverged platform. It's designed to significantly trim your IT costs and save valuable time. Interested in learning more? Book your StarWind HCA demo now to see it in action!