If I want to build traffic counter for each IP on Iptables, Which table shall I put the rules in? Mangle, Raw, Nat or Filters?
I used to put it in Filters, but it seem doesn't count correctly
iptables -t filter -N COUNT
iptables -t filter -A COUNT -s 192.168.10.10
iptables -t filter -A COUNT -d 192.168.10.10
iptables -t filter -I FORWARD -j COUNT