MAC Filtering
I hope you don't mind asking you a question re: ebtables. I'm looking to
use ebtables to do MAC filtering in a wireless router in AP mode (default).
The object is to do the following:
1. on router startup, prevent all but the host PC from connecting.
2. allow a specified MAC to make a connection.
3. drop/block the MAC at some point in time. Their current connection
is dropped.
The following ebtables commands do not work. Is there a simple solution?
Many thanks in advance! Using the linkyss WRT54GS router with SVEASOFT.
1. (on startup block all MACs except one)
ebtables -N check_mac
ebtables -A check_mac -s 00:11:11:B6:A9:21 -j ACCEPT
ebtables -t filter -F INPUT
ebtables -t filter -F FORWARD
ebtables -P INPUT DROP
ebtables -P FORWARD DROP
ebtables -A INPUT --logical-in br0 -j check_mac
ebtables -A FORWARD --logical-in br0 -j check_mac
2. (allow a MAC access)
ebtables -A check_mac -s xx:xx:xx:xx:xx:xx -j ACCEPT
3. (drop or prevent access)
ebtables -D check_mac -s xx:xx:xx:xx:xx:xx -j ACCEPT
Quoted 1 line · Claude Biron
I hope you don't mind asking you a question re: ebtables.
This is the wrong list for two reasons:
- this is netfilter, not ebtables
- this list concerns ongoing development of netfilter, not usage.
Please see:
http://ebtables.sourceforge.net/contact.html#lists
Quoted 2 lines
The following ebtables commands do not work. Is there a simple solution?
Many thanks in advance! Using the linkyss WRT54GS router with SVEASOFT.
Since you've paid for that software you should ask for support from your supplier. Your supplier, BTW, is using software freely shared with him by others, but is actively suppressing any efforts for his "work" to be shared around.
---
Charlie