Skip to main content
Lucas_Correia
New Member
March 8, 2018
Question

Session expires lower than session duration

  • March 8, 2018
  • 2 replies
  • 3504 views

Hi, 

 

My question is, is there a way to disconnect a session after a specific period of time, whether they are idle or not. For example, we have sessions from the fortigates to my Fortianalyzer, using the port TCP/514, that never expires.

I already tried set config system session-ttl on this port but it never expires. 

 

Running v5.4.8,build1183 (GA) on FGT 60D;

 

--Lucas

2 replies

EMES
New Member
March 9, 2018

Create a new service in the CLI you can set the session timeout per service and some other options.

try the commands below : 

 

config firewall service custom

edit testservice

set ?

EMES
New Member
March 9, 2018

Although you did mention where they are idle or not which is not possible. I will say you can probably do something with the timeouts , make them really short on that one service as opposed to doing it for the entire firewall.

 

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!