regra para bloqueio agendado

Amigos,

Gostaria de saber se alguem tem alguma regra que faça o bloqueio de um cliente em hora programada,  tipo entre 00:00 e 09:00 da manhã?

até mais

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Enviar-me um email quando as pessoas responderem –

Respostas

  • tb to querendo isso para uma cliente senao ela vai desligar a internet por causa do filho dela q fica a madruga toda na net.
  • Achei isso aqui tb, nao é o meu caso mas espero q seja util:

    Bloqueio de site (orkut) para IP 192.168.1.6

    / ip web-proxy access
    add src-address=192.168.1.6/32 dst-port=80 url="orkut.com" action=deny \
    comment="" disabled=no
    / system script
    add name="Orkut Servidor Bloqueio" source="/ip web-proxy access { enable \
    \[find url=orkut.com\] }" \
    policy=ftp,reboot,read,write,policy ,test,winbox,password
    add name="Orkut Servidor Libera" source="/ip web-proxy access { disable \[find \
    url=orkut.com\] }" \
    policy=ftp,reboot,read,write,policy ,test,winbox,password
    / system scheduler
    add name="Orkut Servidor Bloqueio" on-event="Orkut Servidor Bloqueio" \
    start-date=jan/01/1970 start-time=18:00:00 interval=1d comment="" \
    disabled=no
    add name="Orkut Servidor Libera" on-event="Orkut Servidor Libera" \
    start-date=jan/01/1970 start-time=23:00:00 interval=1d comment="" \
    disabled=no

    Bloqueio de Msn para IP 192.168.1.6 - Das 18:00 as 23

    / ip firewall filter
    add chain=forward src-address=192.168.1.6 dst-address=0.0.0.0/0 protocol=tcp \
    dst-port=1863 time=18h30m-23h,sat,fri,thu,wed,tue,mon,sun action=drop \
    comment="Msn Servidor" disabled=no
    / system script
    add name="Msn Servidor Bloqueio" source="/ip web-proxy access { enable \
    \[find url=gateway.dll\] }" \
    policy=ftp,reboot,read,write,policy ,test,winbox,password
    add name="Msn Servidor Libera" source="/ip web-proxy access { disable \[find \
    url=gateway.dll\] }" \
    policy=ftp,reboot,read,write,policy ,test,winbox,password
    / system scheduler
    add name="Msn Servidor Bloqueio" on-event="Msn Servidor Bloqueio" \
    start-date=jan/01/1970 start-time=18:30:00 interval=1d comment="" \
    disabled=no
    add name="Msn Servidor Libera" on-event="Msn Servidor Libera" \
    start-date=jan/01/1970 start-time=23:00:00 interval=1d comment="" \
    disabled=no
    / ip web-proxy access
    add src-address=192.168.1.6/32 url="gateway.dll" action=deny comment="Msn \
    Servidor" disabled=yes

    Cara nao estou entendendo me da um exemplo, o cliente navega das 08:01 até as 23:59 ou seja das 00:00 ate as 08:00 ele fica totalmente bloqueado, faz esse exemplo para q eu possa compreender as regras q vc postou e me confirma se é no filters q se colocam elas.

    add chain=forward src-mac-address=00:00:00:00:00:10 \
    time=(23h10m-23h59m),sat,fri,thu,wed,tue,mon,sun action=drop \
    comment="Bloqueio Spamms - 1" disabled=no
    add chain=forward src-mac-address=00:00:00:00:00:10 \
    time=(0s-7h),sat,fri,thu,wed,tue,mon,sun action=drop comment="" disabled=no
    add chain=input src-mac-address=00:00:00:00:00:10 \
    time=(23h10m-23h59m),sat,fri,thu,wed,tue,mon,sun action=drop comment="" \
    disabled=no
    add chain=input src-mac-address=00:00:00:00:00:10 \
    time=(0s-7h),sat,fri,thu,wed,tue,mon,sun action=drop comment="" disabled=no
This reply was deleted.