MAC Filtering and rebooting the device

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
rawkusx
DD-WRT Novice


Joined: 03 Dec 2015
Posts: 14

PostPosted: Tue Dec 08, 2015 12:23    Post subject: MAC Filtering and rebooting the device Reply with quote
Hi,

I currently am using the following to rules to block all outbound access to the IPS below:

iptables -I FORWARD -s 173.194.219.0/24 -j DROP
iptables -I FORWARD -s 74.125.141.0/24 -j DROP
iptables -I FORWARD -s 208.74.76.0/24 -j DROP
iptables -I FORWARD -s 64.233.185.0/24 -j DROP
iptables -I FORWARD -s 198.70.71.0/24 -j DROP

-- I want to modify the rule so that, the logic applies to a SPECIFIC mac address or IP. (I'll take whichever is easiest at this point.) I'm hitting a brick wall, but here's what I've attempted so far.

iptables -I FORWARD -s 173.194.219.0/24 -m mac --mac-source E0:E7:82:F1:63:35 -j DROP
iptables -I FORWARD -s 74.125.141.0/24 -m mac --mac-source E0:E7:82:F1:63:35 -j DROP
iptables -I FORWARD -s 208.74.76.0/24 -m mac --mac-source E0:E7:82:F1:63:35 -j DROP
iptables -I FORWARD -s 64.233.185.0/24 -m mac --mac-source E0:E7:82:F1:63:35 -j DROP
iptables -I FORWARD -s 198.70.71.0/24 -m mac --mac-source E0:E7:82:F1:63:35 -j DROP


When I try the mac filter, I can still access all of the ips above. When I use the catch all then, no one can. (Great, but not great. lol)

By the way, for those that are using iptables have you noticed that you have to reboot the router sometimes, before the changes will take affect?

Any help is appreciated. Thank you. Question
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum