Is there a way to automatically enable/disable MAC blacklist

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
saltthewalt
DD-WRT Novice


Joined: 04 Aug 2014
Posts: 2
Location: New York

PostPosted: Mon Aug 04, 2014 18:09    Post subject: Is there a way to automatically enable/disable MAC blacklist Reply with quote
I've been looking around but I can't find anyone with a similar situation.

I can easily create a MAC address blacklist/whitelist through the router web interface, but I would like to have this enabled and disabled at certain times of the day automatically.

For example at 5PM I want to enable the blacklist and then have it disabled again at 9AM each day.

Is there any way I can do this with ddwrt?
Sponsor
pix5650
DD-WRT User


Joined: 18 Feb 2007
Posts: 87
Location: Bern, Switzerland

PostPosted: Mon Aug 04, 2014 19:27    Post subject: Reply with quote
I don't know the specific answer to your question. But I have noticed, that the MAC blacklist only is in effect on the physical interfaces, not however on the virtual interfaces. So if you shouldn't be able to find a direct solution, maybe you can work something that way.
_________________
Deployed:
Buffalo WZR-1750 - v3.0-r38580M kongac (02/05/19) - Router
Buffalo WZR-1750 - v3.0-r38580M kongac (02/05/19) - Client Bridge
Buffalo WZR-1750 - v3.0-r38100M kongac (12/27/18) - Router
Linksys WRT320 -> E2000 - v3.0-r33772 K30 mega (11/16/17) - Client Bridge

Others:
Buffalo WZR-1750, GL.iNet 6416, GL.iNet AR150, TP-Link TL-WR703N,
Linksys WRT610Nv2 -> E3000, Linksys E3000, Linksys E2000, Linksys WRT54GL
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 776
Location: AR, USA

PostPosted: Mon Aug 04, 2014 19:28    Post subject: Reply with quote
I don't know if I am understanding what you are trying to do correctly or not, but I believe that this functionality is already built-in with DD-WRT on the Access Restriction tab.

It looks like one can setup 10 policies and for each policy you have a choice of denying:

1) specific MAC addresses (up to 8 per policy),
2) specific IP addresses (up to 6 per policy),
3) specific IP address ranges (up to 2 per policy).

I don't know if you can mix those options on the same policy or not (i.e. 2 MAC addresses with an IP range). You can then set the time frame (from when to when), and what specific days, if not everyday.

Do you have this tab on your router's build?

_________________
R7000 Nighthawk - DD-WRT v3.0-r50308
R7000 Nighthawk - DD-WRT v3.0-r50308
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x
https://pi-hole.net/
https://github.com/DNSCrypt/dnscrypt-proxy
saltthewalt
DD-WRT Novice


Joined: 04 Aug 2014
Posts: 2
Location: New York

PostPosted: Mon Aug 04, 2014 19:36    Post subject: Reply with quote
That looks like exactly what I'm looking for. Thanks a bunch

I was previously using the "wireless filter" under the basic tab to filter MAC addresses. I didn't realise there was another access restriction section. Thanks again!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum