From mboxrd@z Thu Jan 1 00:00:00 1970 From: Menno Smits Subject: Re: Questions re iproute2, netfilter, and locally sourced packets Date: Thu, 18 May 2006 14:55:45 +0100 Message-ID: <446C7CE1.5080209@netboxblue.com> References: <446576D0.2050407@aut.ac.nz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <446576D0.2050407@aut.ac.nz> 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="us-ascii"; format="flowed" To: Ian Batterbee , Netfilter Mailing list 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 That rule will match locally generated packets regardless of where they are going. Hope that helps, Menno