From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Marcone Subject: Re: postrouting and mac address Date: Tue, 21 Jul 2009 15:10:55 +0200 Message-ID: <4A65BE5F.4090007@duet.it> References: <4A65AF17.70002@duet.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@vger.kernel.org Hi! there was a misunderstanding: "filter" I mean "recognize". I don't want to drop packets in postrouting, I know it is impossible, but I need to recognize in postrouting packet of a certain source (by mac address, not by ip). I don't know when packets source mac address is modified by router. Thanks, Fabio > Hi Fabio, > > I don't think you can filter packets in postrouting. > The only tables available in POSTROUTING are mangle and nat. > > To filter packets in a router, I think you have to do it in the FORWARD > chain. > > see: http://jengelh.medozas.de/images/nf-packet-flow.png > > Julien > >