To restrict host, access, and application rules to specific times and intervals, configure schedule objects as an additional matching criteria. Schedule objects provide time granularity in minutes. When time objects are evaluated the time of the NG Firewall it is running on is used.
A schedule object consists of two time configuration elements that can be combined or used separately:
- Recurring Schedule – Configure the schedule to be active during specific days and intervals by selecting weekdays and time from a list.
- Restrict to time interval – Configure the schedule to be active during a specific interval by specifying a date and time span.
For information on how to create schedule objects, see How to Create and Apply Schedule Objects.
In this article:
You can restrict the schedule to a specific day and time interval, e.g., every week from Monday at 09:00 until Wednesday at 15:30, by selecting the Enable Recurring Schedule checkbox. Selecting this option expands the configuration and provides the Recurring Schedule table, where you specify the days and times for the schedule to be active.
Selecting the Restrict to time interval checkbox lets you restrict the schedule to a date and time span by specifying the dates and times in the fields provided by the section.
Schedule Object Options
- Terminate existing sessions – By default, sessions that match the rule using the schedule object stay active until they are closed or time out. Selecting the Terminate existing sessions checkbox immediately terminates active sessions as soon as the time restriction configured in the schedule applies. Sessions are not terminated between two time intervals which directly follow each other. (E..g, Tue 8:00 - Tue 9:00 and Tue 9:00 - Tue 10:00)
- Block if schedule does not match – When you enable this option, the connection is blocked when the time schedule does not match, since no further access rule will be evaluated.
Legacy Time Restriction Settings for Access Rules
Existing Time Restrictions (Edit Rule > Advanced > Miscellaneous > Time Restriction) for an access rule override the schedule objects of an access rule. Barracuda Networks recommends configuring schedule objects instead of time restrictions in an access rule. Barracuda NG Firewall firmware 6.1 or later no longer supports legacy time restrictions. Use schedule objects instead.