All of lore.kernel.org
 help / color / mirror / Atom feed
From: Menno Smits <menno@netboxblue.com>
To: Ian Batterbee <ian.batterbee@aut.ac.nz>,
	Netfilter Mailing list <netfilter@lists.netfilter.org>
Subject: Re: Questions re iproute2, netfilter, and locally sourced packets
Date: Thu, 18 May 2006 14:55:45 +0100	[thread overview]
Message-ID: <446C7CE1.5080209@netboxblue.com> (raw)
In-Reply-To: <446576D0.2050407@aut.ac.nz>

Ian Batterbee wrote:
> 
> 2. How can I identify to "ip rule" packets that are locally sourced ? 

I've used something like this in the past:

ip rule add iif lo lookup <some table>

That rule will match locally generated packets regardless of where they 
are going.

Hope that helps,
Menno


  parent reply	other threads:[~2006-05-18 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-13  6:04 Questions re iproute2, netfilter, and locally sourced packets Ian Batterbee
2006-05-13 10:15 ` Pascal Hambourg
2006-05-18 13:55 ` Menno Smits [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-14 19:01 Ian Batterbee
2006-05-14 21:11 ` Pascal Hambourg
     [not found] <200605150359.k4F3xG1O006127@horuhoru-3.aut.ac.nz>
2006-05-15  6:31 ` Ian Batterbee

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=446C7CE1.5080209@netboxblue.com \
    --to=menno@netboxblue.com \
    --cc=ian.batterbee@aut.ac.nz \
    --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.