Hi Derek,
On Sat, Oct 20, 2012 at 8:38 AM, Derek Trotter <expat.arizonan@gmail.com> wrote:
My ISP imposes a monthly quota. If the total amount of data I download and upload exceeds that quota I get billed extra. Everything I send or receive passes through my full time linux box. Is there something I can install on it that would monitor and log how much data passes through eth0?
thanks
<snip>
You can enable iptables to do this:
It should look like this:
iptables -N INET_OUTiptables -N INET_INiptables -A FORWARD -j INET_INiptables -A FORWARD -j INET_OUTiptables -A INPUT -j INET_IN
iptables -A OUTPUT -j INET_OUT
To see your data:
iptables -L -v -n