Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261198AbUKSCUH (ORCPT ); Thu, 18 Nov 2004 21:20:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261243AbUKSCSF (ORCPT ); Thu, 18 Nov 2004 21:18:05 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:35237 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S262855AbUKRS31 (ORCPT ); Thu, 18 Nov 2004 13:29:27 -0500 Date: Thu, 18 Nov 2004 19:29:24 +0100 (MET) From: Jan Engelhardt To: Martin Josefsson cc: linux-kernel@vger.kernel.org Subject: Re: local packets not in prerouting In-Reply-To: <1100800891.20185.59.camel@tux.rsn.bth.se> Message-ID: References: <1100800891.20185.59.camel@tux.rsn.bth.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 22 >> I have been observing that locally generated packets with a local destination >> have they don't pop up in the nat/PREROUTING chain. >> Anybody know why this is done? (If not, it's a bug.) > >It's not a bug. All locally generated packets go through nat/OUTPUT , >not nat/PREROUTING. Yeah I apparently found that out too now :] (it says "nat", which does not apply to locals anyway). "mangle" looks like what I need. Unfortunately, the REDIRECT target is only for nat, oh no :( Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/