All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Cannings <lists@edeca.net>
To: netfilter@lists.netfilter.org
Subject: Re: routing using netfilter hooks
Date: Wed, 31 Mar 2004 09:54:08 +0100	[thread overview]
Message-ID: <200403310954.08149.lists@edeca.net> (raw)
In-Reply-To: <200403310802.NAA04204@WS0005.indiatimes.com>

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


      reply	other threads:[~2004-03-31  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31  8:30 routing using netfilter hooks mtrayudu
2004-03-31  8:54 ` David Cannings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403310954.08149.lists@edeca.net \
    --to=lists@edeca.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.