Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Traffic accounting gateway with IPtables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Fri Nov 08, 2002 3:21 pm    Post subject: Traffic accounting gateway with IPtables Reply with quote

Ok...

I am failry new to this so please bear with me.

What I want to do is put a Linux box between a Network Router
and the Network switch.
The box should have 2 NICs and do nothing more than to
measure the traffic it transfers between the router an the Swicth or
the other way round.

I know I can do it with IPtables (though I never touched them yet)
but if anyone has got any suggestions where I could look for rules or how
this could be done the easiest way (with Gentoo of course) please let me know.

Thanks everyone!
_________________
Greetings,
Proteus
Back to top
View user's profile Send private message
Ethernal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 106
Location: Stockholm, Sweden

PostPosted: Fri Nov 08, 2002 3:29 pm    Post subject: Reply with quote

why dont you try out MRTG?
check out http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
might be what you're looking for :D
_________________
Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you.
Back to top
View user's profile Send private message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Fri Nov 08, 2002 3:39 pm    Post subject: Reply with quote

Thanks, but what I really need to know is:

-How can I set up a bridge really easy?
-How can I export the total traffic (don't need no fancy pictures, plain numbers would suffice) that passes the bridge?

So, is there any good tutorial out there so I could use Gentoo, or a mini-distro made just for this if it is too hard to implement it myself?

(Please bear with me as I have never before touched IPtables...)
_________________
Greetings,
Proteus
Back to top
View user's profile Send private message
Ethernal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 106
Location: Stockholm, Sweden

PostPosted: Fri Nov 08, 2002 3:42 pm    Post subject: Reply with quote

well maybe the linux bridge + firewall mini-howto might help
http://www.tldp.org/HOWTO/mini/Bridge+Firewall.html

as for the stats, i've no clue. sorry :cry:
_________________
Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum