Using starttime and stoptime within firewall rules does not work, unless the rule, specifies UTC time.
This rule seems to be ignored.
set firewall name INSIDE-OUTSIDE rule 550 description ‘Allow Web Ports 8:30AM-8:30PM’
set firewall name INSIDE-OUTSIDE rule 550 time starttime ‘08:30:00’
set firewall name INSIDE-OUTSIDE rule 550 time stoptime ‘20:30:00’
On the other hand, the following rule works.
set firewall name INSIDE-OUTSIDE rule 550 description ‘Allow Web Ports 8:30AM-8:30PM’
set firewall name INSIDE-OUTSIDE rule 550 time starttime ‘21:30:00’
set firewall name INSIDE-OUTSIDE rule 550 time stoptime ‘09:30:00’
set firewall name INSIDE-OUTSIDE rule 550 time utc
This causes an issue during day light saving times, multiple rules using time rules need to be modified twice a year.
Is it possible to have the time reference the time zone that's been specified?
Link to community post: https://forum.vyos.io/t/vyos-handles-day-light-saving/7813