Can someone please let me know how I create a rule in the kid-control config that will allow a user to use the internet, for example Saturday between 09:00:00 in the morning till 02:00:00 at night time. For some strange reason I am not able to get this setup in the GUI. I am getting errors “like end time must be bigger than start time” or “seconds are not allowed”. I am not able to set 00:00:00 to 02:00:00 for first rule and 09:00:00 to 23:59:59 for second rule. I can only get to set 00:00:00 to 02:00:00 for first rule and 09:00:00 to 23:59:00 for second rule, but this means that suddenly their is a drop in internet for 1 minute at 1 minute to midnight.
Please advise.
Secondly I also like to block access to our internal entertainment NAS during the internet offline hours, how can I set this up in Kid-Control as well?
Have you confirmed the internet actually drops? I’m not sure it granular to the second (perhaps). e.g. if you have access at 23:59:00, you likely have access at 23:59:59.
You can also use “09:00:00-1d 00:00:00” to be exact. It’s kinda weird way to express it, but internally Mikrotik only has time durations (which can span days), so it’s 24h (24 hours) or 1d (1 day) in kid-control, refer to from the “start” of Saturday.
First you need to understand that “on saturday betweek 9 in the morning and 2 at nighttime” ACTUALLY means "from 9 in the morning to midnight on saturday, and from 0 to 2 on sunday.
It may be casual to include “2 at nighttime” with saturday, but in a technical environment you need to be exact and consider that part of sunday.
To specify 24:00 you can use “1d 00:00:00” as mentioned by Ammo0. Not to specify a 24-hour duration, but to set the endtime to 23:59+1 minute (24:00).
No, the time field (which is not exactly specified in the manual) is not of the form start-duration, it is start-end.
So “09:00:00-1d 00:00:00” does not mean “24 hours from 09:00”, but it means “09:00-24:00”, that is from 09:00 to the end of the day.
You still need to allow 00:00-02:00 on the next day when you want “until 2 at night” to be added to the current day.
Totally, didn’t mean to imply he didn’t need to cover the two hours on Sunday. I think his issue was the 1 minute before “midnight” which is both “00:00:00” and “1d 00:00:00”, depending… But since I think Mikrotik tracks this on 1 minutes intervals, 23:59:00 would have been fine (I think) – but MT doesn’t explicitly say this.
My comments were based on the OP,
…so I assume he knew 0000-0200 was for Sunday. But you know what they say about that…
I use the CLI. There you can use “24h” for midnight, which is “hidden” in one of the CLI example… I’d never really used winbox to edit these, but the “9h-24h” and “0h-2h” format doesn’t work… you get a superfriendly “error in - double field expected” using that style when you try.
And certainly no support for American-style AM/PM like “9a-12a” - that however is not a surprise.
Indeed, the docs say NOTHING about how this “time” field is structured. There are only some examples, and they indicate it is start-end.
The “1d 00:00:00” trick I also got from some forum post, it is never mentioned in the docs.
So hopefully he is helped by that. It would be better when 24:00 is also accepted (and then converted to 1d 00:00:00 when it is read back).
I know it’s a bit late for reply, but I’d to chime in and suggest setting up two separate rules: one from 9 am to midnight and another from midnight to 2 am. This should avoid the issue of the internet drop that you mentioned. As for blocking access to your NAS during offline hours, you could try adding a separate rule to your kid-control config that restricts access to the device during those times. With a bit of trial and error, you should be able to find a configuration that works for your needs.