Skip to main content
unknown1020
Explorer III
May 26, 2023
Question

disable vpn accounts

I have the following QUERY:
Could you help me by confirming if it is possible to configure in the fortigate to disable VPN forticlient user accounts that have NOT connected to the VPN in a certain time?
For example, a user X who has his vpn account and has not connected in the last 3 months, I want that account to be automatically disabled.
I await your confirmation if the above is possible.

2 replies

pavankr5
Staff
Staff
May 27, 2023

Hello @unknown1020 ,

 

Please check this article on Removing a user 
https://docs.fortinet.com/document/fortigate/6.2.0/cookbook/779401/removing-a-user

let us know if this  helps.

 

Thanks,

Pavan

rtichkule
Staff
Staff
May 27, 2023

Hello,

If a user hasn't connected to a VPN in the last three months, blocking that connection is not possible.
However, by using the commands shown below, you can delete the user.

 

config user local

delete exampleuser

end

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
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