Re: ip accounting with centos 6

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

 



On Wednesday 2011-09-28 12:06, DSI.NET - Arvid Zöbisch wrote:

>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:

I challenge above's statements #3 and #4.

>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
--
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