All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: packets to local addresses
Date: Sat, 07 Apr 2007 21:27:44 +0200	[thread overview]
Message-ID: <4617F0B0.4050903@plouf.fr.eu.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0704072040300.22181@yvahk01.tjqt.qr>

Hello,

Jan Engelhardt a écrit :
>>MKS wrote:
>>
>>>What is the best way to change this behaviour, that is force "general"
>>>packets out a specific interface. iptables route target???
> 
> Use MARK and iproute2.

This won't work for local addresses. The local routing table is looked 
up first in the routing process, before any custom ip rule can be 
examined. So MARK and iproute2 have no effect on the routing of local 
and broadcast addresses.


  reply	other threads:[~2007-04-07 19:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 12:22 packets to local addresses MKS
2007-04-06 16:12 ` Martijn Lievaart
2007-04-07 14:13   ` MKS
2007-04-07 15:45     ` Martijn Lievaart
2007-04-07 18:40       ` Jan Engelhardt
2007-04-07 19:27         ` Pascal Hambourg [this message]
2007-04-07 21:39         ` Martijn Lievaart
2007-04-10 11:52           ` MKS
2007-04-10 15:21             ` Jan Engelhardt
2007-04-10 15:53               ` MKS
2007-04-10 16:20                 ` 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=4617F0B0.4050903@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@lists.netfilter.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.