OK, nobody knows? Or it is impossible ?
Hello,
we are running WL500g Deluxe in router mode and using MAC filtering for wlan stations.
Is possible to import this MAC filter list from some kind of database which will be maintained centrally?
Can I, for example, copy some file with MAC filter list to the router (via nfs or telnet or something else) and then run some command on router to apply the change?
Or can it be checked directly against sql?
Petr
OK, nobody knows? Or it is impossible ?
Hello, I have this qestion too... Do You know the answer now?
Hi,
no, still only manual work
Petr
Maybe that:
in your post-firewall fileCode:iptables -A MACS -m mac --mac-source xx:xx:xx:xx:xx:xx -j RETURN
or with a script (put all the mac@ in a file, ie maclist):
Code:#!/bin/sh for mac in $(cat /path/to/file/maclist) do iptables -A MACS -m mac --mac-source $mac -j RETURN done
Last edited by ImoTh3P; 16-11-2007 at 22:29.
ImoTh3P,
it looks like the best solution. For some reason I was thinking only about altering Wlan security (Allower MAC addresses list), but iptables -based solution might be even better.
Thanks!
Petr
In fact, the web based method juste write an iptables rules in the MAC chain...
If this chain doesn't exist, you'will had to create it before (iptables -L)