Hi,

I send other time the same mail because I can't find the answer

-----Mensaje original-----
De: jj_calvo [mailto:[email protected]] 
Enviado el: miƩrcoles, 30 de abril de 2014 18:01
Para: '[email protected]'
Asunto: Re: mac filter in fonera 2n 

Hi Matthijs, 

I read in same web if i want to block same mac the command to do it is:

iptables -A INPUT -m mac --mac-source XX:YY:ZZ:AA:BB:CC -j DROP

It's Works to me

And the commans to allow only same mac's are

iptables -P INPUT DROP

iptables -P OUTPUT ACCEPT

iptables -A INPUT -m mac --mac-source XX:YY:ZZ:AA:BB:CC -j ACCEPT

iptables -A INPUT -m mac --mac-source 11:22:33:44:55:66 -j ACCEPT


But this don't work to me. Others mac's can access to router.

You know the reason?

There is other rule in the router that permit to others mac's access to
router?

Regards,
JJ. Calvo


_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to