User: prevent/allow access to network depending on the time.

Good evening Microtik people,

I have a basic question which I am hoping to have answered. I have recently bought a Routerboard 500 to experiement further. I am hoping to prevent/allow access to my network depending on the time of day; so users can’t access the internet after 22:00 for example.

Can you explain the best way to do this?

Many Thanks!

Hello,

I have been asking this question but without any answer, please can some one give us a solution.

Thanks

As it was replied in the previous the particular configuration is not possible with User Manager yet.
It it possible with firewall, as it was described here,
http://forum.mikrotik.com//viewtopic.php?t=12891

sergejs

I tried the firewall and is working but i cant specify the username in the hotspot i can onlt use MAC address, but can i use their hotspot name to block them?

‘ip hotspot user profile’ provides ‘filter-out’ and ‘filter-in’ matchers, specific ‘chain=testchain’ might be configured.

  • place rules with action=drop, configured time= and user matching data (IP address, mac-address).
  • add jump rule to forward chain, that will forward traffic to ‘chain=hotspot’.

It should work, as you have asked.

The firewall / MAC address solution sounds perfect for my requirements. Could you tell me how to do it? I would be very greatful!

Look at the link given above and use rules given in the previous post.

Many thanks Sergiejs. I am very very new to all of this, can you give me a little bit more detail?