Fortinet – 2FA Using Email

2-Factor Auth Using Email on FortiGate
————————————–

>> Fortinet SSH Login

Login via SSH Remote

 

>> Configuring Email Server

config system email-server
   set server "notification.fortinet.net"
   set port 465
   set security smtps
   end

config system global
   set two-factor-email-expiry 120
   end

>> Creating the User

config user local
   edit "agink"
      set type password
      set two-factor email
      set email-to "[email protected]"
      set passwd SuperSecretPassword
      next
      end

>> Login FortiClient VPN & Check your email