This is an old revision of the document!
The easiest way to achieve Wireless MAC address filtering is to use the controls in FreshTomato's wireless filter menu. There are cases, however, when you need/prefer to block MAC addresses in a script. This can be for easier management of such tasks (with large number of devices). It can also because you wish 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