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 [2023/05/08 03:59] – -changed head to Wireless MAC Address filtering via script/scheduler 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 achieve Wireless mac filtering is to use the basic/[[basic-wfilter|wireless filter]]. There are cases though where you would need/prefer to block mac addresses in a script, this can be for easier management (large number of devices) or to ba able to schedule the filtering on/off as needed.+The easiest way to perform Wireless MAC address filtering is to use the controls in FreshTomato'[[basic-wfilter|Wireless Filter]] menuHowever, there are occasions when you might prefer/need to block MAC addresses in a script.
  
-Given a mac address you want to control say ''aa:bb:cc:dd:ee:ff'' you can+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.
  
-# Block\\  ''/usr/sbin/ebtables -FORWARD -d aa:bb:cc:dd:ee:ff -j DROP''+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.
  
-# Unblock\\  ''/usr/sbin/ebtables -D FORWARD -d aa:bb:cc:dd:ee:ff -j DROP''+ \\  \\ For example, given a MAC address whose access you wish to control:
  
-Flush (unblock all the defined references at once)\\  ''/usr/sbin/ebtables -F''+<code text> 
 +aa:bb:cc:dd:ee:ff 
 +</code> 
 + 
 + \\ 
 + 
 +You could perform the following functions on it: 
 + 
 + \\ 
 + 
 +  * Block\\ <code text> 
 +/usr/sbin/ebtables -A FORWARD -d aa:bb:cc:dd:ee:ff -j DROP 
 +</code> 
 + 
 + \\ 
 + 
 +  * Unblock\\ <code text> 
 +/usr/sbin/ebtables -D FORWARD -d aa:bb:cc:dd:ee:ff -j DROP 
 +</code> 
 + 
 + \\ 
 + 
 +  * Or even…Flush (unblock all the defined references at once)\\ <code text> 
 +/usr/sbin/ebtables -F 
 +</code> \\ 
 + 
 + \\
  
  
wireless_filtering.1683514748.txt.gz · Last modified: 2023/05/08 03:59 by hogwild