cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
488
Views
1
Helpful
1
Replies

Client-side timeout/auto disconnect

Cji912
Level 1
Level 1

I was wondering if there is a way to set up an auto-disconnect in AnyConnect after a fixed session time, or idle time from the client side. I know this is possible from the server side, but can users set up their own auto-disconnects?

1 Reply 1

vpn-session-timeout <time> <<- this command under the group-policy will end the session after specific time 

 

Configure a maximum amount of time for VPN connections, using the vpn-session-timeout command in group-policy configuration mode or in username configuration mode.

hostname(config-group-policy)# vpn-session-timeout {minutes | none}
hostname(config-group-policy)#
 

The minimum time is 1 minute, and the maximum time is 35791394 minutes. There is no default value. At the end of this period of time, the ASA terminates the connection.