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

How to disconnect clients after x minutes

Helo Support, we have a forigate 100F
We have setup several vlans,in one of these vlan we have enable captive portal with access allow all, we would like to disconnect clients after 15 minutes.
Is this possiblen to be done combine schedule script?
Could you please provide us the best solution?

4 REPLIES 4
farhan17
New Contributor

We disconnect at 10 hours. By that time, they should either be done working or need to reauthenticate to continue. No reason to let them stay connected overnight and into the following day(s).

https://showbox.bio https://tutuapp.uno/
akanibek
Staff
Staff

 
 
 
Double-click
 
Select to translate

 

If you are not using Active authentication, you can try to adjust auth-timeout for all active users. Passive one should not be affected, meanwhile users with active auth. should be terminated within configured auth type, and time.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Explanation-of-auth-timeout-types-for-Fire...

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Authentication-timeout-value-for-firewall-...

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

Asset
GeoSeaJets
New Contributor

Akanibek thanks for your reply.

Our connected clients, connect to captive portal free through wi-fi with no authentication. 

so we adjust auth-timeout for all active users as you told us

the default auth-timeout is 5 min but this seems not working for that reason we add the following to Cli

config user setting
    set auth-timeout-type hard-timeout
    set auth-timeout 900
end

and now works fine

 

npariyar
Staff
Staff
Labels
Top Kudoed Authors