make mangle for LAN traffic with address list.
make static simplequeue rules with packetmark LAN traffic.
when user connect , MT make dinamic simplequeue for this user,
because, static simplequeue rules capture LAN traffic,
dinamic traffic capture all other, and this is Internet !
now I need assistance ...
I need to capture with SNMP : "name" , "bytes-in", "bytes-out", from dinamic simplequeue, and write this in MySql.
Problem are ... script (PERL) must capture with command (Get SubTree), all from simplequeue, on every 10 sec, and write in mysql.
I think about capture when user connect, but pppoe connection can be unstable.
any one, ... who known perl or other way, to capture and write this in mysql ?