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: DNAT to a specific interface?
Date: Mon, 10 Nov 2008 15:38:21 -0600	[thread overview]
Message-ID: <4918A9CD.9020808@riverviewtech.net> (raw)
In-Reply-To: <gf9us7$pub$1@ger.gmane.org>

On 11/10/08 12:34, news.gmane.org wrote:
> how can I tell it to use interface eth3?

Set up an IP rule to match either the source port or a mark set by 
IPTables watching for the source port.

With the IP rule in place you can use a different routing table that 
uses a different interface as the source for any traffic using that 
routing table.



Grant. . . .

      reply	other threads:[~2008-11-10 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 18:34 DNAT to a specific interface? news.gmane.org
2008-11-10 21:38 ` 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=4918A9CD.9020808@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.