Site Tools


wireless_filtering

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
wireless_filtering [2022/11/28 11:42] – created rs232wireless_filtering [2023/06/04 21:03] hogwild
Line 1: Line 1:
-====== Wireless mac 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 need/prefer to block MAC addresses in a script. Using a script has two main advantages. Firstit would be tedious and time-consuming to enter all the data for large number of network devices into the Wireless Filter menu. A solution using scripts can be easier to manage when there are larger numbers of network devices. Second, it allows you to schedule filtering on or off as needed with greater ease.
  
-Given a mac address you want to control say ''aa:bb:cc:dd:ee:ff'' you can+ \\ Given a MAC address whose access you wish to control, for example: ''aa:bb:cc:dd:ee:ff''
  
-# Block\\ +You can perform the following functions on it: 
-''/usr/sbin/ebtables -A FORWARD -d aa:bb:cc:dd:ee:ff -j DROP''+ 
 +# 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'' 
 + 
 + \\ 
 + 
 + \\
  
-# Unblock\\ 
-''/usr/sbin/ebtables -D FORWARD -d aa:bb:cc:dd:ee:ff -j DROP'' 
  
-# Flush (unblock all the defined references at once)\\ 
-''/usr/sbin/ebtables -F'' 
wireless_filtering.txt · Last modified: 2023/06/04 21:05 by hogwild