FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ymasaki
Staff
Staff
Article Id 192180

Description

 
This article describes how to create a user with SMS-based two-factor authentication on FortiGate.
Note that the option is not available in GUI by default and the setting is required to configure from CLI as follows.
 
Scope
 
FortiGate.


Solution

 

  1. The option is not available in GUI by default.


 
  1. Configure a user with a two-factor option from CLI.
config user local
   edit test
       set two-factor sms
       set sms-server <fortiguard | custom>
       set sms-phone <phone number of user>
    end
end
 
Note:
Make sure to configure the sms-server and sms-phone options, otherwise, it will not let save the config and the 'SMS based two-factor authentication' option will not show in GUI. For the sms-server, it is possible to use FortiGuard, or define a custom SMS server under these settings:
 
config system sms-server
    edit <provider> (provider name or any name)
        set mail-server <server_name> (provider domain)
end
 
  1.  The option becomes available in GUI after the CLI setting is configured.