Skip to main content
FortiDor
Explorer II
Jul 21, 2025 7:43 AM UTC
Question

FortiClient IPSec-over-TCP - LDAP Users with email 2FA

Hello,

 

Is it possible to setup a email 2FA for LDAP users to protect the VPN IPSec-overs-TCP connection ? 
The feature is working fine in the SSL VPN as previously.

 

I found this KB but meaning working with a Certificat authentication : 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Using-email-based-MFA-with-certificate/ta-p/348005

 

My IPSec-over-TCP is working with a pre-shared key.

 

Thanks

4 replies

sjoshi
Staff
Staff
Jul 21, 2025 8:10 AM UTC

Yes it is possible.

You need to import the ldap user on the fortigate to assign 2fa

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Importing-LDAP-user-and-applying-two-factor-email/ta-p/195678

Thanks, Salon
FortiDor
FortiDorAuthor
Explorer II
Jul 21, 2025 8:50 AM UTC

Hello @sjoshi 

 

Already done but not working with the IPsec VPN instead of SSLVPN

 

Here is the information find in the ike log : 

> ike V=root:0:IPsec-TCP: EAP succeeded for user "xxx" group "XXX" 2FA=no

 

But in the user CLI setting : 

> config user local
edit "xxx"
set type ldap
set two-factor email
set email-to "xxx"
set ldap-server "COMMUN-AD"
next
end

 

Any information ?

sjoshi
Staff
Staff
Jul 21, 2025 9:51 AM UTC

can you show me the group config.

 

config user group

edit XXX

show

Thanks, Salon
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT