From: Pascal Hambourg Subject: Re: Need for a specific source address selection rule ? (not neccessarily netfilter) Date: Sun, 29 Aug 2010 17:44:00 +0200 Message-ID: <4C7A8040.7040002@plouf.fr.eu.org> References: <4C7A3B14.9010805@httrack.com> <4C7A57D1.8070702@httrack.com> <4C7A6D11.8090306@httrack.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4C7A6D11.8090306@httrack.com> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: netfilter@vger.kernel.org Hello again, Xavier Roche a =E9crit : > Jan Engelhardt a =E9crit : >> ip route add $(address of google.com) src $(my alternate address) >> should do it. IPsec already does so if I am not mistaken. >=20 > Note: it does not appear to work IME, it works for IPv4 but not for IPv6 ; only IPv4 routes seem to support the "src" attribute, and IME src is silently ignored for IPv6 routes.