1.2 Requirements
Opt MACFilter in version 2.0 requires:
1.3 Settings
Settings in /config/macfilter.txt:
Activate MACFilter with 'yes'. 'no' deactivates it.
Setting: 'yes', 'no'
Sets MACFilter as blacklist ('blacklist') or as whitelist ('whitelist').
Note: when using as whitelist it is required to add the MACs of the gateways to the list.
Setting: 'blacklist', 'whitelist'
Allow httpd access even when a MAC is blocked by MACFilter.
This option should be set when you want to switch between the filters. When it's not set it might occure that you have no access after switching because your MAC is either blocked or not allowed.
Setting: 'yes', 'no'
Allow ping access even when a MAC is blocked by MACFilter.
Setting: 'yes', 'no'
Allow dns requests even when a MAC is blocked by MACFilter.
Setting: 'yes', 'no'
Allow dhcp even when a MAC is blocked by MACFilter.
Setting: 'yes', 'no'
Count of MACs which shall be active upon boot.
Setting: Number of MAC addresses
Setting: MAC address (xx:xx:xx:xx:xx:xx)
Setting: text
Optional. Start MACFilter on boot?
Setting: 'yes', 'no'
Optional. Activates logging for MACFilter.
Setting: 'yes', 'no'
Optional. Sets the path for the logfile. Needs MACFILTER_LOG='yes'
Setting: path
Optional. Sets whether blockted pakets should be dropped ("DROP") or rejected ("REJECT").
Setting: "DROP", "REJECT"
Optional. Chains in which the MACFilter adds itself.
Setting: Chains, seperated by Blank
Optional. Sets the position in the chains MACFilter adds itself.
Setting: Number
Systemdefault: MACFILTER_WEB_SECTION='Opt'
Optional. Sets the sub menu for the MACFilter menu.
Setting: Section
Optional. Sets the position for the MACFilter menu in the submenu.
Setting: Number
Optional. Activates the Debug mode for MACFilter. Needs MACFILTER_LOG='yes'
Setting: 'yes', 'no'
Optional. Activates the Debug trace mode for MACFilter. Needs MACFILTER_DEBUG='yes'
Setting: 'yes', 'no'
The realm name is macfilter and can have the following actions:
1.5 Disclaimer
The use of the OPT is at your own risk.