From mboxrd@z Thu Jan 1 00:00:00 1970 From: VladSun Date: Mon, 11 Jun 2007 19:02:31 +0000 Subject: Re: [LARTC] shaping using source IP after NAT Message-Id: <466D9C47.7070909@relef.net> List-Id: References: <20070611155834.075b7462@pulsar.inexo.com.br> In-Reply-To: <20070611155834.075b7462@pulsar.inexo.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org Ethy H. Brito написа: > Hi all > > I am using a pass trhu router and I need to QoS some clients output by its > IP address. The problem is that QoS is due after NATing. > > Is there some clever way of doing this besides MARKing every packet with > some IP hashing in POSTROUTING NAT table? > > Regards > > Ethy > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Regards! _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc