FortiGate: Check SSL VPN Connection Timeouts with CLI.

FortiGate: Check SSL VPN Connection Timeouts with CLI.
Photo by Jon Tyson / Unsplash

How to check SSL VPN connection time-out with the CLI command. By default, an SSL VPN connection logs out after 8 hours. This will show how to check the timeout with the CLI command.

  1. Log in to the web admin console.
  2. Go to the menu CLI Console.

  1. Enter the command "config vpn ssl settings" and "Enter".

config vpn ssl setttings

  1. Type "show" to view settings.

show

  1. Looking for topic "set auth-timeout".

  1. If it cannot be found, the topic value. User command "show full-configuration"

show full-configuration

  1. Now we can see the configuration about "set auth-timeout 28800". It means the time out is 8 hours (28800 sec. = 28800/60/60)

Ref: https://community.fortinet.com/t5/FortiGate/Technical-Tip-SSL-VPN-connection-logout-after-8-hours/ta-p/191322