Per IP traffic monitoring inside OVZ container
Hello community,
I'm looking for an option to monitor traffic from inside an OVZ container for individual IPs. Tools such as vnstat only work for the whole traffic which is running through venet0, but not on a per IP basis. Same thing with iptables rules, such as "iptables -A chain-blah -d $IP -j ACCEPT". It's always showing 0 bytes and only the INPUT chain properly measures the traffic, but once again for the whole NIC and not for individual IPs. Any suggestions?
|