From: Gavin Hamill <gdh@xxxxxxxxxxxxxx> To: netfilter@xxxxxxxxxxxxxxxxxxx Subject: Re: Iptables forwarding Date: Tue, 22 Mar 2005 10:47:39 +0000
On Tuesday 22 March 2005 10:33, N Gal wrote:
> Hallo,
>
> I'm trying to set up a 'statistics box' that should simply IP forward
> everything from one ethernet card to the other (Transparent Firewall?) in
> the same subnet. The problem is that it will not do this. Any suggestions
> welcome...
You want this : http://ebtables.sf.net
Short version - use a 2.6 kernel and when you configure Linux Bridging (interface br0 spanning eth0 and eth1, for example), you will be able to apply rules, or simply count the number of packets matching rules / interfaces...
If you use a 2.4 kernel, you will need to patch it (see URL above)
Cheers, Gavin.
Hi Gavin,
yes, I found the ebtables site after I sent the message and am using a 2.4 kernel, so a patch will be necessary.
Do I need iptables as well as ebtables or is ebtables a 'drop-in' replacement?
Thanks for the help,
Neil
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger