From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Spenneberg Subject: Re: Outgoing interface selection by source address Date: 27 Nov 2003 15:20:51 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1069942851.28653.48.camel@kermit> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1" To: Pawel Hadam Cc: Netfilter Am Don, 2003-11-27 um 14.55 schrieb Pawel Hadam: > Hi all >=20 > I have 2 local interfaces (eth0 & eth1) and thus 2 IPv6 addresses (src0 & > src1). >=20 > I have an SCTP/IPv6 application that binds to one of the addresses > (let's say src0) and sends packets to some destination (dst). But > according to the classical routing policy, all packets in this > connection (src0, dst) are routed via eth1. And I would like them to be > routed via interface eth0, as src0 is the address of eth0 not eth1. > Is it possible to do it with netfilter for IPv6 ? I mean, is it possible > to route the packets via the proper outgoing interface by theirs source > address, like this: It is, but not using netfilter (AFAIK). Take a look at the=20 Linux Advanced Routing and Traffic Howto: lartc.org Cheers, Ralf --=20 Ralf Spenneberg RHCE, RHCX Book: VPN mit Linux Book: Intrusion Detection f=FCr Linux Server http://www.spenneberg.com IPsec-Howto http://www.ipsec-howto.org Honeynet Project Mirror: http://honeynet.spenneberg.org