From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Tue, 08 Oct 2002 19:16:57 +0000 Subject: Re: [LARTC] iptables, nat and traffic shaping woes Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tuesday 08 October 2002 20:57, Aaron Clausen wrote: > As I try to solve my problems with iptables, nat and traffic shaping (with > ip accounting thrown intot he mix) a friend of mine just sent this claim. > Is it true? Will I have to step back to ipchains, or is there a way to > force packets through the traffic shaping filters using iptables? > > > If you are using iptables, you MUST forget it, or change to > > ipchains, because > > masq is done by nat table, and shaping is done by mangle table. I > > cannot found > > any way to drive the packet 1. thru nat, than mangle, instead of > > using OUTPUT > > and FORWARD. Shaping is not done by mangle table, shaping is done when the packet leaves the box. But marking is done in the mangle table. I don't understand what's the problem. You can mark the packets in mangle and masq in nat ??? You can find more info on www.docum.org under KPTD. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/