Recently, while working from home,I noticed that the SSL VPN disconnects every eight hours,Connecting to Fortigate to check the settings,I only found the option 'Idle Timeout Logout',And its default value happens to be 28,800 seconds (8小時),So I initially thought it was a device fault,Mistakenly applied this setting,But even after changing this setting,It still disconnects every eight hours。
用 “28800” 作關鍵字去搜尋後,原來 SSL VPN 還有個 “auth-timeout” 的隱藏設定,且預設值也是 28,800 seconds。若要修改此設定,只能透過 CLI 方式以指令做修改。
sh vpn ssl settings # 可先透過此指令查看既有 SSL VPN 設定。 # 預設應該不會顯示 auth-timeout, # 未設定 auth-timeout 將以 28,800 秒作用。 config vpn ssl settings # 進入 SSL VPN 設定。 set auth-timeout 43200 # 可視需求調整時間。 end # 務必輸入此指令才會儲存並結束。
完成後亦可重新進入 CLI 介面確認設定值是否有成功設定。
【参考链接】
- SSL VPN connection logout after 8 hours.html
- SSL VPN Timeout | Fortinet Technical Discussion Forums








留下回复