All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: redirect rule question
Date: Tue, 05 Feb 2008 14:06:17 -0600	[thread overview]
Message-ID: <47A8C1B9.2070006@riverviewtech.net> (raw)
In-Reply-To: <df1bdeb10802051119w6b92ac21iae36c7d66cb94de8@mail.gmail.com>

On 02/05/08 13:19, Srinivas Murthy wrote:
> If there is a mark set on an skb, (for any src or dst ip or port 
> no's), redirect to the port no equal to the mark.

I'm not aware of any thing in IPTables that will act like a variable 
that can be set to the value of the mark and then later use the contents 
of the variable as the source for a redirect.

I'm afraid that you will need a multiple rules to match the multiple marks.



Grant. . . .

      reply	other threads:[~2008-02-05 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05 19:19 redirect rule question Srinivas Murthy
2008-02-05 20:06 ` Grant Taylor [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=47A8C1B9.2070006@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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 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.