Skip to main content
yeowkm99
New Member
Jan 20, 2022 6:52 AM UTC
Solved

Change VPN users

i have some local VPN users in my fortigate firewall.

We need to change them to radius authentication, is there any way to change in CLI instead of re-creating them in GUI ?

 

edit "user"
set type password
set two-factor fortitoken
set fortitoken "FTKM9E3E"
set email-to "email-address"
set passwd-time 2021-09-21 11:18:52
set passwd ENC password 

Debbie_FTNT
Staff & Editor
Jan 20, 2022 8:47 AM UTC

Hi :).

You could make the following changes:

1. Add a RADIUS server to your FortiGate under Users & Authentication > RADIUS Server

2. Change your users to type radius:

#config user local
#edit <user>

#set type radius

#set radius <radius server>

#next

That way credentials would be checked against RADIUS, but everything else (token, group memberships, applicable policies etc) would be on the FortiGate.

 

Hope that helps!

3 replies

Debbie_FTNT
Staff & Editor
Staff & Editor
Jan 20, 2022 8:47 AM UTC

Hi :).

You could make the following changes:

1. Add a RADIUS server to your FortiGate under Users & Authentication > RADIUS Server

2. Change your users to type radius:

#config user local
#edit <user>

#set type radius

#set radius <radius server>

#next

That way credentials would be checked against RADIUS, but everything else (token, group memberships, applicable policies etc) would be on the FortiGate.

 

Hope that helps!

Translate
yeowkm99
yeowkm99Author
New Member
Jan 20, 2022 8:54 AM UTC

will try that out.

we already have a radius server in our network.

Translate
Debbie_FTNT
Staff & Editor
Staff & Editor
Jan 20, 2022 9:00 AM UTC

Great, let me know how it goes :).

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024