Skip to main content
SecurityPlus
Explorer III
April 7, 2020
Question

SSL VPN Timeout

  • April 7, 2020
  • 6 replies
  • 26983 views

Office staff are reporting that the SSL VPN sessions all timeout after approximately 8hrs. How can I either lengthen that time or disable the timeout? They would like to set this to stay connected for 3 days (36 hrs) though we will ask users to log out at the end of their workday. They sometimes work over 8 hrs. a day.

 

Running FortiOS 6.0.9 on a FortiGate 60E.

 

I went into the CLI and entered the following commands:

config vpn ssl settings

set auth-timeout 259200

 

It appears that this should set the timeout in seconds giving them 36 hrs. before disconnection. They still get disconnected after 8 hrs. Also, when I search the configuration backup for "set auth-timeout" or for "259200" I can't find the setting that I thought that I added. Am I doing something wrong?

 

 

    6 replies

    SEI
    New Member
    April 8, 2020

    Hello 

     

    I have set these 2 Parameters to solve the problem:

     

    set idle-timeout {integer}   SSL VPN disconnects if idle for specified time in seconds. range[0-259200]

    set auth-timeout {integer}   SSL-VPN authentication timeout (1 - 259200 sec (3 days), 0 for no timeout). range[0-259200]

     

    Sini

    ShawnZA
    New Member
    April 8, 2020

    Its the set auth-timeout setting, the default is on 8 hours.(28800 seconds)

    SecurityPlus
    Explorer III
    April 8, 2020

    Thanks everyone!

     

    I think that I see what I was doing wrong.

     

    After entering:

    config vpn ssl settings set auth-timeout 259200

     

    I did not type "end". I simply closed the CLI interface.

    I presume that not typing end caused it not to save the setting.

    Roy_CHFR
    New Member
    April 21, 2020

    It  looks like you used the correct commands.  They appear to be exactly as I did them. 1 : config vpn ssl settings     ( Update/show/change SSL settings) 2 : set auth-timeout 42200      (We set ours to around 12 hours )

    3 : show      (Just to be sure that the param was taken into account)

     

    4: End      (Save the config) Nothing else necessary for us.  Do a Show Config and verify that the param was indeed saved. After that the next SSL connection will timeout after the period you want.

    mlynch1958
    New Member
    April 29, 2021

    Can this be done in the GUI? Where?

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!