LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2007, 01:29 AM   #1
arvind.kumar.1982
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Question Problem in Bandwidth Monitoring using iptables


My RHEL 4 linux system is configured as transparent proxy server using squid and iptables. The Lan interface is eth0 and internet interface is eth1.

I configured the system to monitor Bandwidth Usage using iptables.

I used the following configuration for iptables :

iptables -N prolog
iptables -A FORWARD
iptables -A FORWARD -d 192.168.10.0/24 -j prolog
iptables -A FORWARD -s 192.168.10.0/24 -j prolog
iptables -A prolog -d 192.168.10.80
iptables -A prolog -s 192.168.10.80

I uses command iptables -L -v -n to see the bandwidth usages by the hosts i.e. 192.168.10.80. The problem is that iptables is not capturing total upload or download bandwidth usage. It is only showing about half of the traffic. Downloading traffics are totaly ignored.

Can any one help me what i need to do.

Thanks in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables bandwidth monitoring Jeiku Linux - Networking 3 05-25-2007 02:42 AM
Monitoring bandwidth use Jubalint Linux - Networking 4 01-13-2007 07:50 PM
LXer: Bandwidth monitoring with iptables LXer Syndicated Linux News 0 12-26-2005 10:46 AM
Bandwidth Monitoring basketkase999 Linux - Software 2 01-13-2005 02:44 PM
Bandwidth Monitoring allandire Linux - Networking 1 06-25-2002 06:02 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration