Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
unknown1020
New Contributor III

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 2
pavankr5
Staff
Staff

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

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