* ip accounting with centos 6
@ 2011-09-28 10:06 DSI.NET - Arvid Zöbisch
2011-09-28 12:28 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: DSI.NET - Arvid Zöbisch @ 2011-09-28 10:06 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ip accounting with centos 6
2011-09-28 10:06 ip accounting with centos 6 DSI.NET - Arvid Zöbisch
@ 2011-09-28 12:28 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2011-09-28 12:28 UTC (permalink / raw)
To: DSI.NET - Arvid Zöbisch; +Cc: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-28 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 10:06 ip accounting with centos 6 DSI.NET - Arvid Zöbisch
2011-09-28 12:28 ` Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.