This is an old revision of the document!
The easiest way to perform Wireless MAC address filtering is to use the controls in FreshTomato's Wireless Filter menu. However, there are occasions when you need/prefer to block MAC addresses in a script. Using a script has two main advantages. First, it can be easier to management when there is a large number of network devices. Second, it allows you to schedule the filtering on or off as needed.
Given a MAC address you want to control, for example: aa:bb:cc:dd:ee:ff
You can perform the following functions on it:
# Block
/usr/sbin/ebtables -A FORWARD -d aa:bb:cc:dd:ee:ff -j DROP
# Unblock
/usr/sbin/ebtables -D FORWARD -d aa:bb:cc:dd:ee:ff -j DROP
Or even
# Flush (unblock all the defined references at once)
/usr/sbin/ebtables -F