Site Tools


wireless_filtering

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wireless_filtering [2025/02/12 03:18] hogwildwireless_filtering [2025/02/12 03:21] (current) – -Formatting hogwild
Line 1: Line 1:
 ====== Wireless MAC Address filtering via script/scheduler ====== ====== Wireless MAC Address filtering via script/scheduler ======
  
-The easiest way to perform Wireless MAC address filtering is to use the controls in FreshTomato's [[basic-wfilter|Wireless Filter]] menu. However, there are occasions on which you might prefer/need to block MAC addresses in a script.+The easiest way to perform Wireless MAC address filtering is to use the controls in FreshTomato's [[basic-wfilter|Wireless Filter]] menu. However, there are occasions when you might prefer/need to block MAC addresses in a script.
  
-There are two main advantages to using a script. First, entering all the data for a large number of network devices into the Wireless Filter menu would be tedious and time-consuming+There are two main advantages to using a script. First, entering all the data for a large number of network devices into the Wireless Filter menu would be tedious and time-consuming.
  
 A scripted solution can make it easier to manage a large number of network devices. Second, a script more easily allows you to schedule filtering on or off, as needed. A scripted solution can make it easier to manage a large number of network devices. Second, a script more easily allows you to schedule filtering on or off, as needed.
Line 22: Line 22:
 /usr/sbin/ebtables -A FORWARD -d aa:bb:cc:dd:ee:ff -j DROP /usr/sbin/ebtables -A FORWARD -d aa:bb:cc:dd:ee:ff -j DROP
 </code> </code>
 +
 + \\
  
   * Unblock\\ <code text>   * Unblock\\ <code text>
Line 29: Line 31:
  \\  \\
  
-Or even… +  * Or even…Flush (unblock all the defined references at once)\\ <code text>
- +
-  * Flush (unblock all the defined references at once)\\ <code text>+
 /usr/sbin/ebtables -F /usr/sbin/ebtables -F
 </code> \\ </code> \\
wireless_filtering.1739330331.txt.gz · Last modified: 2025/02/12 03:18 by hogwild