group-policy 的attribute中设置 vpn-session-timeout限制会话的最长时间,可以选择配置vpn-idle-timeout
vpn-idle-timeout Enter idle timeout period in minutes
vpn-session-timeout Enter maximum user connection time in minutes, enter none for unlimited time
eg:
PCP_TEST# sh run group-policy
group-policy sslvpn internal
group-policy sslvpn attributes
dns-server value 10.0.2.79
vpn-idle-timeout 1440
vpn-session-timeout none
vpn-tunnel-protocol ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value split
default-domain value dc.local
address-pools value vpn-pool
!