Hello there!
I'm using a Linux box to make a MASQUERADE from some machines in my
internal network to the internet, and using CBQ/QoS to control the traffic
based in IP numbers..
Now I'm searcching a way to collect the statistics from the iptables (or
CBQ) to make some graphics or something and know how much each IP is
consumming...
There's any script to do it, or somewhere explaining how to do?
cristovao:/usr/local/sasacct # iptables -t nat -L POSTROUTING
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 10.0.0.5 anywhere
MASQUERADE all -- 10.0.0.6 anywhere
[]s
JJunior
ProInternet Brasil