* routing using netfilter hooks
@ 2004-03-31 8:30 mtrayudu
2004-03-31 8:54 ` David Cannings
0 siblings, 1 reply; 2+ messages in thread
From: mtrayudu @ 2004-03-31 8:30 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
Hello
I have a problem i.e i have a system with 2 ethernet cards ,i want to capture the packets from one ethernet card process for information and send it through the other ethernet card using netfilter hooks.
Please suggest me the method of doing this
thank you
rayuduIndiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me
[-- Attachment #2: Type: text/html, Size: 1243 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: routing using netfilter hooks
2004-03-31 8:30 routing using netfilter hooks mtrayudu
@ 2004-03-31 8:54 ` David Cannings
0 siblings, 0 replies; 2+ messages in thread
From: David Cannings @ 2004-03-31 8:54 UTC (permalink / raw)
To: netfilter
On Wednesday 31 March 2004 09:30, mtrayudu wrote:
> Hello
> I have a problem i.e i have a system with 2 ethernet cards ,i want to
> capture the packets from one ethernet card process for information and
> send it through the other ethernet card using netfilter hooks. Please
> suggest me the method of doing this
Presuming the datagrams originate on one card and are destined for an
address/subnet on the other card, enable IP forwarding (`echo 1
>/proc/sys/net/ipv4/ip_forward`) then add rules to your FORWARD chain
that define which packets may and may not pass.
If you can be more specific about what sort of information you want to
process for, how your network is setup and what exactly you are trying to
achieve we will be able to help more.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-31 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 8:30 routing using netfilter hooks mtrayudu
2004-03-31 8:54 ` David Cannings
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.