Skip to main content
SecurityPlus
Explorer III
Apr 7, 2020 11:07 PM UTC
Question

SSL VPN Timeout

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
    Apr 8, 2020 6:52 AM UTC

    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

    Translate
    ShawnZA
    New Member
    Apr 8, 2020 7:13 AM UTC

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

    Translate
    SecurityPlus
    Explorer III
    Apr 8, 2020 3:00 PM UTC

    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.

    Translate
    Roy_CHFR
    New Member
    Apr 21, 2020 12:43 PM UTC

    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.

    Translate
    mlynch1958
    New Member
    Apr 29, 2021 8:28 PM UTC

    Can this be done in the GUI? Where?

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024