Skip to main content
chaithrar
Staff
Staff
October 26, 2020

Technical Tip: FortiToken multi-factor authentication

  • October 26, 2020
  • 0 replies
  • 7752 views

Description


This configuration adds multi-factor authentication (MFA) to the FortiClient VPN configuration. It uses one of the two free mobile FortiTokens that is already installed on the FortiGate.

This article describes how to configure multi-factor authentication.

 

Scope

 

FortiGate.

Solution

 

To configure MFA from GUI.

Edit the user:

  1. Go to User & Authentication -> User Definition and edit local user vpnuser1.
  2. Enable Two-factor Authentication and select one valid mobile FortiToken from the list.
  3. Enable 'Send Activation Code' and select "Email" and enter the email address as shown below.
  4. Select 'OK' to save and submit the configuration changes.

 

2FA.jpg

 

  1. Activate the mobile FortiToken.
  • When a FortiToken is added to user vpnuser1, an email is sent to the user's email address.Follow the instructions to install the  FortiToken mobile application on the unit and activate the FortiToken.

To configure MFA from CLI.

  1. Edit the user and user group:

 

config user local
    edit "vpnuser1"
        set type password
        set two-factor fortitoken
        set fortitoken <select mobile token for the option list>
        set email-to <user's email address>
        set passwd <user's password>
    next
end

 

  1. Activate the mobile FortiToken.
  • When a FortiToken is added to user vpnuser1, an email is sent to the user's email address. Follow the instructions to install the FortiToken mobile application on the unit and activate the FortiToken.
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!