Results 1 to 7 of 7

Thread: MAC filter list from database

  1. #1

    MAC filter list from database

    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

  2. #2

    MAC filtering

    OK, nobody knows? Or it is impossible ?

  3. #3
    Join Date
    Aug 2007
    Location
    St.Petersburg
    Posts
    114
    Hello, I have this qestion too... Do You know the answer now?

  4. #4
    Hi,
    no, still only manual work

    Petr

  5. #5
    Join Date
    Jun 2007
    Location
    France
    Posts
    8
    Maybe that:
    Code:
    iptables -A MACS -m mac --mac-source xx:xx:xx:xx:xx:xx -j RETURN
    in your post-firewall file

    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.

  6. #6
    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

  7. #7
    Join Date
    Jun 2007
    Location
    France
    Posts
    8
    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)

Similar Threads

  1. Clone MAC
    By reza in forum WL-500g Q&A
    Replies: 1
    Last Post: 25-01-2006, 12:25
  2. MAC OS X 10.3 ibook Print Server Problem
    By epimenides in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 14-12-2005, 20:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •