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 04:11] – -formatting, correct link title to Wireless Filter hogwildwireless_filtering [2023/06/04 21:05] (current) – -grammar 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 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.+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 need/prefer to block MAC addresses in a script. Using a script has two main advantages. First, it would be tedious and time-consuming to enter all the data for a large number of network devices into the Wireless Filter menu. A scripted solution can be easier to manage when there are large numbers of network devices. Second, a script more easily allows you to schedule filtering on or offas needed.
  
- \\ Given a MAC address you want to control, for example: ''aa:bb:cc:dd:ee:ff''+ \\ Given a MAC address whose access you wish to control, for example: ''aa:bb:cc:dd:ee:ff''
  
 You can perform the following functions on it: You can perform the following functions on it:
- 
- \\ 
  
 # Block\\  ''/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''
Line 17: Line 15:
  \\  \\
  
-Or even+Or even:
  
 # Flush (unblock all the defined references at once)\\  ''/usr/sbin/ebtables -F'' # Flush (unblock all the defined references at once)\\  ''/usr/sbin/ebtables -F''
wireless_filtering.1683515484.txt.gz · Last modified: 2023/05/08 04:11 by hogwild