Skip to main content
Umesh
Explorer II
February 26, 2026
Question

Remote Ipsec vpn with forticlient | token twice over email | Radius authentication for vpn users|

  • February 26, 2026
  • 1 reply
  • 273 views

Hello all,

 

I have configured Remote IPsec VPN to access internal network, am using FortiClient.

For User authentication I am using Radius server which is configured at Windows Server (NPS).

Also users are authenticating & getting IP address from Radius Server. (without 2FA Email based)

 

When I use 2FA with email based - What problem I am facing while accessing the VPN--------->

---> Getting token twice

Refer to the config:-

config user local
edit test

type Radius
set two-factor email
set email-to abc@gmail.com

At that time I am getting email token twice.

 

FYI - I am using IKE version 2 ... ( For Fortigate IPsec tunnel)

config vpn ipsec phase1-interface

set type dynamic
set interface "port1"
set ip-version 4
set ike-version 2

set authmethod psk

set mode-cfg enable

set eap enable
set eap-identity send-request

set authusrgrp (Test Group)

set assign-ip enable
set assign-ip-from group ( test)

 

 

Anyone has any Idea why I am getting token twice over email. I have put effort a lot but issue is remail same.

 

Without 2FA token working fine and users are authenticating remote radius server properly.

 

I have followed below article to configure radius server.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Providing-different-admin-access-profiles/ta-p/197685

 

Your response would be greatly appreciated.

 

 

thank you.

 

 

1 reply

Toshi_Esumi
SuperUser
SuperUser
February 26, 2026

my guess is you defined the user group twice. Below admin guide recommend either phase1 or policy.
https://docs.fortinet.com/document/fortigate/7.6.6/administration-guide/727740/using-single-or-multiple-user-groups-for-user-authentication

And, with multiple remote user groups with single phase1, let them inherit from the policies.

Toshi

Umesh
UmeshAuthor
Explorer II
February 27, 2026

Dear Thosi,

 

Thank you for your suggestion.

The I have defined authentication with usergroup in IPsec IKE2

set authusrgrp "Test-Group"

 

below config for your info -

set eap enable
set eap-identity send-request

 

Please note that I am using Radius authentication with NPS server. If user test with without 2F authentication with email based at that time, getting token twice.

 

Thank you for next suggestion.

 

 

Toshi_Esumi
SuperUser
SuperUser
February 27, 2026

So, are you saying you don't have "Test-Group" configured in any policies, and only phase1 has it in the config?

Toshi