Track data usage using iptables

iptables -I INPUT 1 -s 1.0.0.9 -j ACCEPT


iptables -I OUTPUT 1 -d 1.1.2.2 -j ACCEPT
iptables -Z #CLEARCOUNTERS