netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pete Kay <petedao@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org
Subject: Re: newbie question on netfilter-conntrack
Date: Mon, 21 Jun 2010 15:49:42 +0800	[thread overview]
Message-ID: <AANLkTinsKIGo4Rh76F7qDF2HpRZZeEqfAxNzDWnMJtWJ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.01.1006201415260.26430@obet.zrqbmnf.qr>

Hi Jan,

Thanks for your hint.  Could you share with me how to "connect to the
right tuple"?

Is there any C library that I can use?

thanks,
P

On Sun, Jun 20, 2010 at 8:15 PM, Jan Engelhardt <jengelh@medozas.de> wrote:
> On Sunday 2010-06-20 13:41, Pete Kay wrote:
>
>>Hi,
>>
>>I am new to netfilter-conntrack so please excuse me for my simple question.
>>
>>I am trying to set up a rule such that any UDP packet coming from a
>>specific IP:port will be redirected to another IP:port.  Could someone
>>please give me an example how this can be done?
>
> Why not just directly connect to the right tuple?
>

  parent reply	other threads:[~2010-06-21  7:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-20 11:41 newbie question on netfilter-conntrack Pete Kay
2010-06-20 11:56 ` Andrew Beverley
2010-06-20 12:15 ` Jan Engelhardt
2010-06-21  2:53   ` Pete Kay
2010-06-21  7:49   ` Pete Kay [this message]
2010-06-21  9:20     ` Pete Kay
2010-06-21  9:50       ` Pablo Neira Ayuso

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=AANLkTinsKIGo4Rh76F7qDF2HpRZZeEqfAxNzDWnMJtWJ@mail.gmail.com \
    --to=petedao@gmail.com \
    --cc=jengelh@medozas.de \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).