Skip to Content
DocsMFA Setup

Multi-Factor Authentication Setup

Prerequisites

  1. You have downloaded, installed and configured the Oplon Secure Access Virtual Appliance as indicated in this guide.
  2. Make sure that outbound port 2443 is open on the appliance: it is used to communicate with super.oplon.cloud and is required for MFA to work correctly.

If, in step 2, you wish to configure a specific outbound firewall rule from the Oplon appliance to super.oplon.cloud on port 2443, ensure that the firewall supports port rules based on FQDN (Fully Qualified Domain Name). This is important because Oplon’s cloud services are distributed across multiple data centers to ensure high availability.

If the firewall only supports rules based on IP addresses, you will need to allow outbound traffic on port 2443 to any destination IP.

Import Certificate .P12 super.oplon.cloud

Once you have purchased the Multi-Factor Authentication service from Oplon, you will receive a .P12 certificate: the appliance uses it to communicate with super.oplon.cloud, to verify that the connection is trustworthy and to allow the authorizations of MFA users.

At this point, you can import the keystore into the Virtual Appliance: go to Files > Keystores and click Import.

Figure 1: Certificate import

Select the module to upload the file to (A10_LBLGoPlatform), choose the file from the local path where you saved it and click Confirm.

Figure 2: Certificate import

A video of the keystore import into the A10_LBLGoPlatform module

Figure 3: Video: keystore import

Copying and Configuring MFA Rewrite Rules

  1. Search for the Rewrite Header Rules: select View template rewrite rules and search for the string 2fa in the Search field.
Figure 4: Rewrite headers search
  1. Copy the Rewrite Header Rules: copy the templates into the A10_LBLGoPlatform module.
Figure 5: Rewrite headers copy

A video of copying the secure Rewrite Header Rules templates into the A10_LBLGoPlatform module

Figure 6: Video: rewrite headers search and copy

Now configure the rewrite rules that will protect the Oplon Secure Access resources.

Configuration Rewrite Header 2faActivation and ACTIVATION_CODE

Go to the Rewrite Management > Rewrite Header Rules menu and look for the Rewrite Header Rule 2faActivation.

Open the rule for editing, find the ACTIVATION_CODE variable in the Variables section and in Value enter an activation code of your choice (in the example, ACTIVATIONCODE).

Figure 7: ACTIVATION_CODE insertion

A video of entering the ACTIVATION_CODE in the Rewrite Header Rule 2faActivation

Figure 8: Video: ACTIVATION_CODE insertion

Configuration Rewrite Header Rule 2faGeneric

Go to the Rewrite Management > Rewrite Header Rules menu and look for the Rewrite Header Rule 2faGeneric.

Open the rule for editing, find the Variables section and enter the appropriate values in the CLIENT_KEYSTORE_NAME variable (in the example, THECertificate.p12) and in the CLIENT_KEYSTORE_PASSWORD variable (the password received with the certificate).

Figure 9: Certificate data insertion

A video of entering the parameters in the Rewrite Header Rule 2faGeneric

Figure 10: Video: certificate data insertion

Application of MFA Rules

At this point, decide where to apply them. Rewrites can be applied at the level of:

  • ADCs
  • Groupings
  • Domains
  • Endpoints

In this example they are applied at the Domains level; the activation procedure is almost the same for the other entity types.

Ex. How to secure a Domain

At this point you can protect any resource exposed by OSA with Multi-Factor Authentication.

Next, apply the MFA protection rules to a domain, in this example a_domain.oplon.net.

Go to ADC Settings > Domains, search for the domain a_domain.oplon.net and open it for editing.

Figure 11: Domain search

Inserting Rewrite Header Rules

In the domain configuration, find the Rewrite header rules section and add the two rewrites configured earlier, 2faGeneric and 2faActivation. Also set the value LAST in the Operation column for 2faActivation.

Figure 12: Rewrite header rules insertion

Video: Inserting MFA Rewrite Rules on a Domain

A video of searching for the domain and inserting the 2faGeneric and 2faActivation Rewrite Header Rules

Figure 13: Video: inserting the rewrites on a resource, for example a domain