Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Xavier Roche <roche*lkml@httrack.com>
To: netfilter@vger.kernel.org
Subject: Re: Need for a specific source address selection rule ? (not neccessarily netfilter)
Date: Sun, 29 Aug 2010 16:22:09 +0200	[thread overview]
Message-ID: <4C7A6D11.8090306@httrack.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1008291537460.8007@obet.zrqbmnf.qr>

Jan Engelhardt a écrit :
> ip route add $(address of google.com) src $(my alternate address)
> should do it. IPsec already does so if I am not mistaken.

Note: it does not appear to work (unless my fingers did something 
wrong), for multiple addresses within an interface. The selected source 
address is still the same. I suspect the only thing you can change is 
the outgoing interface ; source address selection logic then remains the 
same.

  parent reply	other threads:[~2010-08-29 14:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 10:48 Need for a specific source address selection rule ? (not neccessarily netfilter) Xavier Roche
2010-08-29 12:04 ` Jan Engelhardt
2010-08-29 12:51   ` Xavier Roche
2010-08-29 13:41     ` Jan Engelhardt
2010-08-29 13:51       ` Xavier Roche
2010-08-29 15:00         ` Jan Engelhardt
2010-08-29 14:22       ` Xavier Roche [this message]
2010-08-29 15:44         ` Pascal Hambourg
2010-09-03 17:36           ` Xavier Roche
2010-09-03 17:42             ` Jan Engelhardt
2010-09-03 18:34               ` Xavier Roche
2010-09-03 20:38                 ` Jan Engelhardt
2010-09-03 20:43                   ` Xavier Roche
2010-09-03 20:52                     ` Jan Engelhardt

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=4C7A6D11.8090306@httrack.com \
    --to=roche*lkml@httrack.com \
    --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