SecureAuth Workforce Authority

F5 VPN RADIUS integration

Multi-Factor Authentication (MFA) is an extra layer of security used when logging into websites or apps. Individuals are authenticated through more than one required security and validation procedure that only they know or have access to.

Remote Authentication Dial-In User Service (RADIUS) is a protocol commonly used to authenticate, authorize, and account for user access and actions.

Workforce Authority by SecureAuth offers a simple solution for adding MFA to F5 VPN via its RADIUS solution. Use this guide to configure VPN on F5 with the Workforce Authority RADIUS MFA authentication solution.

Prerequisites

  • Workforce Authority RADIUS Agent that is configured and connected to your user directory. For example, Microsoft Active Directory (AD).

    For more information, see the Workforce Authority RADIUS Agent deployment guide.

  • F5 VPN user account with administrative access.

Workforce Authority RADIUS Agent configuration

Follow these steps to configure the Workforce Authority RADIUS Agent.

  1. Log in to the Workforce Authority RADIUS Agent as an administrator.

  2. Open the radius-agent-config.env file with an editor.

    The file is located in the installed directory of RADIUS Agent. RADIUS clients are configured in this setting.

    RADIUS agent

  3. At the end of the radius-agent-config.env file, set the following configuration for the ARA_CLIENTS attribute:

    Note

    The values should be separated by semicolons (;).

    ARA_CLIENTS=<An optional name for your F5 VPN>;<Internal IP address of your F5 VPN>;<a shared secret>
    

    For example, set:

    ARA_CLIENTS=F5 VPN;203.0.113.50/32;testing12345
    

    ARA_CLIENTS configuration

  4. Save the file.

  5. Run the following command to apply the changes:

    docker-compose down && docker-compose up -d
    

F5 VPN configuration

In this section, you will configure F5 VPN as a RADIUS client. See the following tasks.

Task A: Add Workforce Authority as a RADIUS Server

  1. Log in to the F5 VPN admin portal with an administrative account. Go to Access > Authentication > RADIUS and click Create.

    F5 Access menu with the RADIUS option and its create icon

  2. To create this new RADIUS server, set the following configurations.

    Name Enter the name of the RADIUS server. For example, SecureAuth-RADIUS.
    Mode Set to Authentication.
    Server Connection Set to Direct.
    Server Address Enter the IP or name of the Workforce Authority RADIUS Server Agent.
    Authentication Service Port Set to 1812.
    Secret Enter the RADIUS shared secret key for the Workforce Authority RADIUS Agent.
    Confirm Secret Confirm the RADIUS shared secret key for the Workforce Authority RADIUS Agent.
    Timeout Set to 60.
    Retries Set to 3.

    F5 new RADIUS server form with its host, port and secret

  3. Optional. If you require and have a backup server, set the Server Connection to Use Pool.

  4. Click Finished.

Task B: Set VPN authentication on RADIUS

  1. On the F5 VPN admin portal, go to Access > Profiles / Polices > Access Profiles (Per Session Policies).

    F5 Access menu with the Access Profiles (Per-Session Policies) option

  2. Click Edit for the Per-Session Policy for your required VPN configuration.

    F5 per-session policy row with its Edit link

  3. From the Policy Definition page, select + after the Logon page to add RADIUS authentication.

    F5 visual policy editor with the plus icon after the Logon page

  4. Go to the Authentication tab, choose RADIUS Auth, and click Add Item.

    F5 Authentication tab with RADIUS Auth selected

  5. Set the AAA Server to the Workforce Authority RADIUS server that you just defined and click Save.

    F5 RADIUS Auth item with its AAA Server set to the Workforce Authority server

  6. Remove the previous authentication methods and select Apply Access Policy.

    F5 policy ending in Apply Access Policy after the old methods are removed

Test your application integration

  1. Go to your F5 VPN URL, enter your login credentials and click Logon.

    F5 VPN logon page with its credential fields

  2. The Workforce Authority Mobile app receives a push notification for your approval to log in.

    Pending RADIUS VPN login request in the Workforce Authority Mobile app with approve and deny buttons

  3. Tap approve and you are authenticated in.