Hello there!

Need Help? We are right here!

support
miniOrange Email Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com

Two Factor Authentcation for Cisco AnyConnect

miniOrange provides a ready to use solution for Cisco AnyConnect. This solution ensures that you are ready to roll out secure access to Cisco AnyConnect to your employees within minutes.

Cisco AnyConnect

Cisco AnyConnect is a uniform security endpoint agent which deliver multiple security services to protect the enterprise. Also, it provides visibility along with the control which is required you to identify who and which devices are accessing the extended enterprise.

You can enable two-factor authentication (2FA) for your Cisco AnyConnect Managed AD directory to increase security level. When you enable 2FA, your users enter their username and password (first factor) as usual, and they have to enter an authentication code (the second factor) which will share on your virtual or hardware 2FA solution. To enable 2FA you can enable RADIUS authentication in Cisco AnyConnect and configure policies in miniOrange to enable or disable 2FA for users.

miniOrange 2FA for VPN Login

  • miniOrange accomplishes this by acting as a RADIUS server, that accepts the username/password of the user entered as a RADIUS request, validates the user against the user store as Active Directory ( AD ), prompts him for the 2-factor authentication and either grants/revokes access based on the input by the user.

  • Types of 2FA Authentication with RADIUS

  • The 2-factor authentication can be of two types depending on the VPN clients.

    • VPN Clients that support RADIUS Challenge.
    • VPN Clients that do not support RADIUS Challenge.

  • In VPN Clients that support RADIUS Challenge :

    • First step is user's username & password get validated against the credentials stored in Active Directory and 2nd request sends a success response, this request is sent to validate the 2-factor authentication of the user, on successful authentication user is granted access to the application.
    • Authentication methods : All Authentication methods supported by miniOrange. Software Token, Push Notification, OTP over Email to name a few.
    • RADIUS Clients that support this authentication type:
      -> OpenVPN
      -> Palo Alto
      -> Fortinet
      -> Cisco AnyConnect
    • 2-factor authentication VPN Cisco AnyConnect Support chart

    We can connect with any Directory

    miniOrange provides user authentication from external directories like Microsoft Active Directory, Azure AD, AWS Cognito etc.

    Can't find your Directory ? Contact us on idpsupport@xecurify.com. We'll help you setting it up in no time.


    Enable Two-Factor Authentication (2FA) for your VPN managed active directory to increase security level

    Step 1: Add the Radius Client in miniOrange

    • Login into the Admin Dashboard.
    • Click on Apps >> Manage Apps.
    • Click on Configure Apps.
    • MFA for VPN Client: VPN configure apps

    • Select Radius tab and select Radius Client.
    • MFA for VPN Client: VPN radius client

    • Configure details below to add Radius Client.
    • Client Name: Any name for your reference
      Client IP: IP address of VPN server which will send Radius authentication request
      Shared Secret: Security key.
      For Eg. "sharedsecret"
      (Keep this with you, you will need to configure same on VPN Server )
      Do not Support Challenge: Keep this Unchecked
    • Click on Save.
    • MFA for VPN Client: VPN Add App



      NOTE: For On-Premise version follow the below steps before testing the connectivity.

      Only For On-Premise Version

    • By Default, the RADIUS Server does not get started with Tomcat.
    • Open the WEB.xml file from your miniOrange repository .....\mo-idp-server-3.3.0\moas\WEB_INF\web.xml
    • Search for RadiusServerInit.
    • MFA for VPN Client: Enable radius exchangeprotocol

    • Uncomment the commented RadiusServerInit Servlet.
    • Keep the port 1812 open for using RADIUS Service.
    • Save and Restart Tomcat.

    Step 2: Setup Active Directory as an Authentication Source

    • Select User Stores then click on Add User Store.
    • MFA for VPN Client: VPN App Add User

    • Select “AD/LDAP” tab and configure it with your LDAP settings.
    • MFA for VPN Client: VPN App Add User Store

      FieldValue
      Directory Type:Active Directory.
      LDAP Server URL:Select an appropriate prefiller followed by your AD server URL or IP address
      Bind Account DN:UserPrincipalName/distinguishedName of the account eligible for binding operation.
      Bind Account Password:Password for the account used for binding
      Search Bases:Provide distinguished name of the Search Base object Eg:cn=User,dc=domain,dc=com
      Search Filter:Search filters enable you to define search criteria and provide a more efficient and effective searches. Eg: "(&(objectClass=*)(cn=?))"

    • Enable “Active LDAP” and “Sync user in miniOrange” option and click on save.
    • MFA for VPN Client: VPN App Save Settings

    • Here's the list of the attributes and what it does when we enable it. You can enable/disable accordingly.
    • AttributeDescription
      Activate LDAP All user authentications will be done with LDAP credentials if you Activate it
      Sync users in miniOrange Users will be created in miniOrange after authentication with LDAP
      Backup Authentication If LDAP credentials fail then user will be authenticated through miniOrange
      Allow users to change password This allows your users to change their password. It updates the new credentials in your LDAP server
      Enable administrator login On enabling this, your miniOrange Administrator login authenticates using your LDAP server
      Show IdP to users If you enable this option, this IdP will be visible to users
      Send Configured Attributes If you enable this option, then only the attributes configured below will be sent in attributes at the time of login

    • Click on Test Configuration to check whether your LDAP configuration details are right and LDAP server is reachable. It will ask for test username & password from LDAP directory.
    • MFA for VPN Client: VPN App Test Configuration

    • After this, it will show you the list of User stores. Click on “ Make Default “.
    • MFA for VPN Client: VPN App Make Default

    Step 3: Setup miniOrange as Identity Provider(Optional)

    NOTE: Follow these steps if you want to keep your users in miniOrange and authenticate against them.

    • Select User then click on Add User .
    • MFA for VPN Client: User tab

      MFA for VPN Client: Add User

    • Configure the basic details for the End User.
    • Then Click on Create User.
    • MFA for VPN Client: Add User form in miniorange

    • You can view these users in UserList.
    • MFA for VPN Client: User list in miniorange

    Step 4: Configure 2 Factor Authentication(2FA) for Admins:

    • From your Admin Dashboard in the left navigation bar, select 2- Factor Authentication, click on Configure 2FA.
    • MFA for VPN Client: configure_2fa

      MFA for VPN Client: select_2fa

    • Select a 2FA method for configuring.
    • Let's say you want to configire OTP over SMS
    • Click on OTP over SMS in Configure 2FA tab.
    • MFA for VPN Client: otp_over_sms

      MFA for VPN Client: enter_phone_no

    • Now add your mobile number on which you want to receive the OTP.
    • Then click on Save.
    • MFA for VPN Client: save_phone_number

      MFA for VPN Client: otp_over_sms_active

    • Reconfigure tab in green represents the currently Active 2FA method.
    • Click on Prompt for second factor during signin to your console.
    • Then click on Save.
    • MFA for VPN Client: Enable_2fa

    • Similarly other 2FA methods can be configured. Click Here for the Guide

    Step 5: Setup 2FA Policy for End User.

    • Click on Policies tab >> App Authentication Policy.
    • MFA for VPN Client: VPN App Authentication Policy

    • Click on Add Policy tab.
    • In Step 1 Select the RADIUS App that we configured earlier.
    • In Step 2 Select “DEFAULT” in Group Name and enter Policy name as “<Any Name>” and Select First factor as “PASSWORD”.
    • Enable Second Factor then click on Save.
    • MFA for VPN Client: VPN App Add Policy

    • Admin can change the second factor of the End user from the User List
    • MFA for VPN Client: User list in miniorange

    • Under Action Click on Select and then select Reset Second Factor
    • MFA for VPN Client: User list in miniorange and Reset second factor

    Step 6: Configure Cisco AnyConnect with miniOrange RADIUS server

    • Login to Cisco ASA ASDM.

    • 2-factor authentication VPN Cisco AnyConnect radius client loginpage

    • Click on AAA Local Users >> AAA Server Groups >> Add.

    • 2-factor authentication VPN Cisco AnyConnect radius client local user

      Property Explanation
      Accounting Mode Indicates how accounting messages are sent. Recommended single mode.
      Reactivation Mode Specifies the method by which failed servers are reactivated.
      Dead Time Time for which a RADIUS server is skipped over by transaction requests
      Max Failed Attempts Maximum number of retransmission attempts. Recommended 1.
    • Select "Protocol" as RADIUS then Click on "Add".
    • Select the newly created group and Under Servers in the Selected Group click on Add .
    • 2-factor authentication VPN Cisco AnyConnect radius client ssl vpn protocol

      Property Explanation Example
      Interface Name Name of protected Cisco interface. inside
      Server IP For on-premise version: IP of server where IDP(miniOrange) is installed
      For cloud version: Contact us at info@xecurify.com to get the IP
      Timeout Authentication timeout. 60
      Server Authentication Port RADIUS authentication port. It should be 1812
      Server Accounting Port RADIUS accounting port It should be 1813
      Retry Interval Length of time between retries 5
      Server Secret Key It shared between the miniOrange RADIUS Connector and its client "sharedsecret"
      Microsoft CHAPv2 Capable Whether or not the RADIUS server uses CHAPv2. It should be unchecked
    • Click on Clientless SSL VPN Access >> Connection Profiles.
    • Select Default WEB VPNGroup and click on Edit.

    • 2-factor authentication VPN Cisco AnyConnect radius client web vpngroup

    • For the AAA Server Group select group made in steps 3-5.
    • Click on Ok .

    Step 7: Configure Timeout for Cisco Anyconnect

    Cisco AnyConnect client will timeout after 12 seconds on Windows and after 30 seconds on Mac OS X by default.

    • Click on AnyConnect Client Profile then click on Add button .

    • 2-factor authentication VPN Cisco AnyConnect radius client add button


    • Uncheck Auto Reconnect option.

    • 2-factor authentication VPN Cisco AnyConnect radius client auto reconnect


    • In the sidebar, click on Preferences(Cont) and scroll down then enter 60 for Authentication Timeout Values (or 10 seconds longer than the AAA RADIUS server timeout and 20 seconds longer than the LoginTC RADIUS Connector Request Timeout)

    • 2-factor authentication VPN Cisco AnyConnect radius client timeout

    • Click on Ok .
    • In the sidebar, click on Server List >> Add to add a server.

    • 2-factor authentication VPN Cisco AnyConnect radius client add profile

    • Enter the FQDN of your Cisco ASA VPN exposed end-point in the Hostname and a hostname or IP Address in the Host Address then click on ok .
    • 2-factor authentication VPN Cisco AnyConnect radius client server filling

    • Click on Apply .
    • Click on Group Policies which is under Network (Client) Access.
    • Click on the group policy which you have assigned to your VPN (e.g. DfltGrpPolicy).

    • 2-factor authentication VPN Cisco AnyConnect radius client group policies

    • Under Advanced >> AnyConnect Client Select your profile.

    • Click on Configuer >> Remote Access VPN >> Network (Client) Access >> AnyConnect Customization/Localization >> GUI Text and Messages.
    • Now, Edit the language file as msgid for "Second Password" and msgstr for "VIP Access Security Code"

    Step 8: miniOrange 2FA for Cisco AnyConnect Login

    We offer Security Solutions of Single Sign-On, Two Factor Authentication, Fraud Prevention and much more.

    Please call us at +1978 658 9387 (US), +91 77966 99612 (India) or email us at info@xecurify.com