From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: packets to local addresses Date: Sat, 07 Apr 2007 21:27:44 +0200 Message-ID: <4617F0B0.4050903@plouf.fr.eu.org> References: <46167157.3080409@rtij.nl> <4617BC88.102@rtij.nl> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: netfilter@lists.netfilter.org Hello, Jan Engelhardt a =E9crit : >>MKS wrote: >> >>>What is the best way to change this behaviour, that is force "general" >>>packets out a specific interface. iptables route target??? >=20 > Use MARK and iproute2. This won't work for local addresses. The local routing table is looked=20 up first in the routing process, before any custom ip rule can be=20 examined. So MARK and iproute2 have no effect on the routing of local=20 and broadcast addresses.