Created on
08-05-2016
02:22 AM
Edited on
09-25-2024
08:02 AM
By
Jean-Philippe_P
Description
Additional configuration steps are required to keep the session active until is finished or expired.
Solution
For example, in an office environment, YouTube use is allowed between noon and 2 PM. During that time, any YouTube traffic continues. As long as that session is open, after 2 PM end time, the existing YouTube traffic can continue, yet new sessions will be blocked. With setting 'set schedule-timeout enable',
FortiGate will terminate all the sessions when the end time of the schedule is reached.
Through the CLI, the firewall policy firewall-session-dirty option is only available after changing the system settings:
- Edit system settings:
set firewall-session-dirty check-policy-option
end
-
Edit the firewall policy rule:
edit <ID of the policy>
set schedule-timeout disable
end