Community discussions

MikroTik App
 
User avatar
macsrwe
Forum Guru
Forum Guru
Topic Author
Posts: 1007
Joined: Mon Apr 02, 2007 5:43 am
Location: Arizona, USA
Contact:

Firewall time semantics

Tue Sep 15, 2020 7:59 am

I'm doing "kid control," blocking some sites between bedtime and the end of the school day.

The firewall time field allows constructs such as:

chain=forward action=drop src-address=192.168.1.99 dst-address-list=BlockedSites time=21h30m-1d14h30m,mon,tue,wed,thu,fri

Does this "do the right thing," or are the semantics wrong?

I wouldn't have thought of trying it, except that the MikroTik smartphone app out-and-out invited me to specify a "day" field, so I figured it might do something clever.

(I realize I may need to adjust the days to "sunday through thursday" to get the proper effect...)
 
User avatar
macsrwe
Forum Guru
Forum Guru
Topic Author
Posts: 1007
Joined: Mon Apr 02, 2007 5:43 am
Location: Arizona, USA
Contact:

Re: Firewall time semantics  [SOLVED]

Thu Sep 17, 2020 6:30 am

Apparently, only the MikroTik smartphone app allows this syntax -- Winbox flags it as invalid.

And it doesn't actually work, so I guess the answer is no.

Who is online

Users browsing this forum: Amazon [Bot], iDaemon, Semrush [Bot] and 222 guests