From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Tue, 14 May 2002 08:16:16 +0000 Subject: [LARTC] Re: IMQ Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi ! Odri Kornel wrote: > Hi, > > I'm trying to set up a QoS over two logical devices. Imq would be great, but > my problem is that it's using POSTROUTING rules and I'm already using SNAT > wich also requires it. I don't see where the problem is, NAT is an iptables table, IMQ is a network device. The IMQ iptables target just marks the packet in POSTROUTING to be enqueued, the actual enqueueing/dequeueing happens later (after all tables have been passed). The only thing you have to be aware of is that for outgoing packets the mangle table (marking) will see the original source ip while any u32/whatever filters attached to the imq device will get the packets already SNATed, but thats just like with regular network devices. Bye, Patrick _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/