Community discussions

MikroTik App
 
Wiredup
newbie
Topic Author
Posts: 26
Joined: Sat Sep 27, 2014 8:11 am

Block a device from browsing the web

Sun Oct 05, 2014 6:03 pm

Hello,

This is my first post and I'm very new to Mikrotik. I'm wondering how to create a firewall rule that can block a device from web browsing or using web based apps by its MAC address.

Then once I learn this I want to be able to block them by time of day.

Example: block usage from 11pm - 7am weekdays


Thanks in advance for any help with this.


Sent from my iPhone using Tapatalk
 
zulkamal
just joined
Posts: 5
Joined: Wed Sep 10, 2014 7:37 am

Re: Block a device from browsing the web

Tue Oct 07, 2014 7:20 am

I also have same issue...

please advice...thank you...
 
Quindor
Member
Member
Posts: 347
Joined: Tue Aug 14, 2012 2:57 am
Location: Noord-Brabant, The Netherlands
Contact:

Re: Block a device from browsing the web

Tue Oct 07, 2014 5:15 pm

This shouldn't be too hard. Basically you want a firewall rule to block traffic from a certain MAC address, but only during certain times.

Create a new firewall rule
TAB General:
Dst Address: 0.0.0.0

TAB Advanced:
Src. MAC Address: 00:00:00:00:00:00 <-- MAC address of client!

TAB Extra:
Time: Your desired period and days

TAB Action:
Choose Block or Drop and if you wish to have it logged or not

This will block all traffic going outside the clients subnet (through the gateway). If you have multiple subnets, it will also block that!

Doing this per IP would be a lot easier because then your could use an address list and use 1 rule to block multiple computers. If that is not possible you will need to create a firewall rule per MAC address as described above. It will probably generate a bit of extra load.

Let us know if it works!

Who is online

Users browsing this forum: katongo360 and 62 guests