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

Firewall authentication auth-timeout

I intend to configure FortiGate such that users are required to re-authenticate every 10 hours, regardless of whether user session are active or inactive. I have applied the following commands, but the session timer seems to refresh instead of decreasing. Could advise if this configuration is correct?

 

config user setting
set auth-cert "Fortinet_Factory"
set auth-timeout 600
set auth-timeout-type hard-timeout
end

image.png

Remark: i suspect it refreshing because of allow-idle



5 REPLIES 5
dingjerry_FTNT

Hi @Ravin_ ,

 

Yes, it is correct.

 

dingjerry_FTNT_0-1733858070346.png

 

Regards,

Jerry
Ravin_

Hi @dingjerry_FTNT , But when I run again the expire time get refreshs instead of decreasing, become 36000 again 

dingjerry_FTNT

Hi @Ravin_ ,

 

Weird.  According to this KB:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configure-hard-timeout-for-authenticated-u...

 

It should be working. 

 

BTW, what is your FortiGate firmware version?

Regards,

Jerry
dingjerry_FTNT

Please apply the authtimeout in User Group for a try:

 

config user group

edit "STAFF GROUP"

set authtimeout 600

end

Regards,

Jerry
pminarik
Staff
Staff

The change applies only to newly-created auth sessions.

Existing ones (created before the config change) will time out according to the rules as they were when the session was created.

 

Make sure you either test this on brand new logons, or simply wipe all pre-existing auth sessions to avoid confusion.

[ corrections always welcome ]
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors