Timed Firewall Rules

Hello!
is possible to set a firewall rules to block P2P only from 08:00 to 23:59?
time regulation with NTP server.

10x in advance..
OrCAD

You could script it..

any example for?

10x

on the manual there are examples to do it
RTFM
Maxi

I see the manual and I try to create a script but not work…

I have try to add this line in script submenù:

to enable firewall rule 0
add name=enable-0 source={/ip firewall filter enable 0}

to disable firewall rule 0
add name=disable-0 source={/ip firewall filter disable 0}

this two line are controlled from scheduler manager…but still not work..

any idea to solve it?

many 10x.

Solution for your problem:
http://forum.mikrotik.com//viewtopic.php?t=2112

.. and a proper way to do it:
http://www.mikrotik.com/docs/ros/2.9/ip/filter||0.7123952359947067

Eugene

I have the same problem…
firewall rules don’t disable or enable after scan the comment text!
Any idea?

many 10x

oki I, seem work perfectly with this:

/ip firewall filter {disable [find comment=“lock all P2P”]}

and

/ip firewall filter {enable [find comment=“lock all P2P”]}

10x in advance 4all.