Community discussions

MikroTik App
 
User avatar
carl0s
Member Candidate
Member Candidate
Topic Author
Posts: 180
Joined: Thu Jun 25, 2009 7:18 pm

firewall time rule broken due to bootup clock

Thu Nov 18, 2021 10:08 pm

I have firewall rule with extra-> time/day.
problem is the clock isn't set until after bootup (ip -> cloud -> update time)

the firewall rule is not realising that the clock has changed.

shouldn't it check maybe every minute to see what the time really is?

I can disable and then enable the firewall rule and it works ok, until the next bootup.
 
User avatar
carl0s
Member Candidate
Member Candidate
Topic Author
Posts: 180
Joined: Thu Jun 25, 2009 7:18 pm

Re: firewall time rule broken due to bootup clock

Thu Nov 18, 2021 10:14 pm

seems like it might work if sntp client is used instead of cloud-time ? Sounds like a bug?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: firewall time rule broken due to bootup clock

Fri Nov 19, 2021 6:36 pm

disable the rules with one schelurer run at startup,
and add one script that check every 1 min until ntp status is "syncronized" and then reactivate the rules

Who is online

Users browsing this forum: arifhahim, Gadulowaty, GoogleOther [Bot], hazem, McSee and 200 guests