I did not notice an option in PfSense that allows a user to set a rule
for certain time periods. Is there any plans for this later on, or
experimental versions with it now?

An example for clarification: block all access until 12:00a (midnight)
then allow access for an hour, and block access until the next midnight.
The above could be implemented with a block rule active all the time,
and in front of it(or above or on top, depending on how you look at it),
a timed allow rule that only activates for the hour between 12:00a and
1:00a; I believe that would be the correct order for operation.

I've thought of a hack to do this, but given my limited knowledge of
PfSense, it probably wouldn't work. Basically, the rule is written to a
file when the user creates it, when the time comes around a cron task
puts the text into the rules, and reloads the config. Then at the time
the rule it supposed to exit, a cron task runs, removes the rule (using
grep), and reloads the config.

Thanks
Anthony

Reply via email to