ip accounting with centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there. 

I have a problem on a centos 6 server running KVM. I want to account traffic per IP. I am using the same rules on an Ubuntu 10.04 LTS-Server where my accounting is working.  
These are my rules: 


iptables -N INET_OUT
iptables -N INET_IN
iptables -A FORWARD -j INET_IN
iptables -A FORWARD -j INET_OUT

/sbin/iptables -A INET_OUT -s x.x.x.x
/sbin/iptables -A INET_IN -s 0.0.0.0/0 -d x.x.x.x

Kernel is 2.6.32.x86_64
iptables is v 1.4.7

Thank you in advance
Arvid
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux