HUGE MAC FILTER and scripting

Posted by user195917 on Server Fault See other posts from Server Fault or by user195917
Published on 2013-10-23T03:25:09Z Indexed on 2013/10/23 3:56 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

I make an dhcp server on CentOS, and i apply a mac filter for my clients. Now, with a small number of clients (max 10) ,is not that hard, but what I will do with 2000 clients? My idea was to create a list (ex. "macfilter.lst") and this list, to be updated after a database. I have tow questions. First: How do i create a filter in IPTABLES that takes info`s from a file (file hosted on server) Second: Any idea about how to write a script, that update a file after a database?? Thanks so much for your help.

© Server Fault or respective owner

Related posts about iptables

Related posts about scripting