I am not sure there is actually much room for improvement. Hopefully Eko will consider this as a possible new feature You'll probably want to add the command reboot. Of course, if sshd is enable you can easily automate it. Write the settings to nvram with Code:įinally, go to the web interface, find the list, choose "prevent" or "permit" and on each page. I recommend to use telnet to access the command line interface. The list of MAC addresses is stored in wl0_maclist. Hopefully Eko will consider this as a possible new feature, similar to the recently added data management options included in build svn1404.
The command "nvram show | grep mac" does return the values I require, but unfortunately it appears that some manipulation may be required to re-input the data to another device.Īnyway, unless I am still missing a step, this is not the type of simple export/import process that I was hoping for. These lists are apparently not stored in the same table! In my case, I am interested in the list of MAC addresses to be allowed. I just realized that the filter_maclist is strictly the list of MAC addresses that are to be blocked. The reason I was getting no output is because there is no filter_maclist, as you suggested earlier. If it works for jmh9072, then it should work for you. I still do not see any output at the console when typing "nvram get filter_maclist" at the SSH command prompt. Well, nvram show | grep mac, works for me, but still no success using nvram get filter_maclist.īy default, should the output of nvram get filter_maclist be visible onscreen? I must be missing something.įor jmh9072's command, maybe you get no output because you don't have any MACs filtered?įor my command, you must use pipe symbol. I tried typing the commands exactly as suggested without success. No special directory required.ĭd-wrt v24-SP1 build 10108M TNG Eko, on a WRT54GLĮdit: I should add that I tried the commands as suggested in the previous posts. In dd-wrt v24, you can run these commands as soon as you log in. When I connect via SSH, I get a command prompt, but there is no response when I type "nvram" at the prompt.ĭo these commands need to be invoked from a specific folder?īut "nvram" all by itself is not the command either of us recommended. Enter the MAC address and description to add to the table and click Save.Do a nvram show |grep -i mac on the router before and after you've filtered some MAC addresses, you'll see what I mean.īasically all you need to do is copy down the commands and enter them into each device.Policy does not override a firewall rule that directs incoming traffic to a host. Website, but host2 is blocked because its URL is not in the list. If the policy is “allow and block the rest,” then host1 is able to connect to a However, host2 is able to connect because its MAC address is not in
Is added to the MAC filtering list and the “block and allow the rest” policy isĬhosen, when this computer tries to connect to a website, the router will not allow Allow and Block the Rest-Choose this option to allow the traffic from the specified MAC addresses and to block traffic from all other machines on the LAN side of the router.įor example, two computers are on the LAN with MAC addresses ofĠ0:01:02:03:04:05 (host1), and 00:01:02:03:04:11 (host2).
Block and Allow the Rest-Choose this option to block the traffic from the specified MAC addresses and to allow traffic from all other addresses.