From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaco van der Schyff Date: Wed, 16 May 2001 14:52:30 +0000 Subject: Re: [LARTC] Marking packets for shaping 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 I removed the comments from the file below, also this isnt the complete file, but it should be enough to give you an idea what I want to acheive. iptables -A PREROUTING -t mangle -p tcp -s 0/0 -d 192.168.62.0/24 -j MARK \ --set-mark 1 tc qdisc add dev eth1 root handle 10: cbq bandwidth 64Kbit avpkt 1000 tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 64Kbit rate \ 64Kbit allot 1514 weight 6Kbit prio 8 maxburst 20 avpkt 1000 tc class add dev eth1 parent 10:1 classid 10:100 cbq bandwidth 64Kbit rate \ 32Kbit allot 1514 weight 3Kbit prio 5 maxburst 20 avpkt 100 bounded tc qdisc add dev eth1 parent 10:100 sfq quantum 1514b perturb 15 tc filter add dev eth1 protocol ip parent 10:1 prio 100 handle 1 fw classid 1:100 Regards - Jaco van der Schyff jvds@netgroup.co.za +27 12 803 7591 +27 12 803 7285 (f) +27 83 680 4922 (mobile) f6e2eb48937f22e159a408c84533cdcb Ramin Alidousti wrote: > > what is/are your setup/rules? It should work just fine. > > Ramin > > On Wed, May 16, 2001 at 04:32:00PM +0200, Jaco van der Schyff wrote: > > > Greetings earthlings, > > > > I am batteling to get NATted packets marked with iptables, > > to shape them later using the fw filter. > > > > Has anyone tried to mark packets that are masqueraded, or > > to shape masqueraded connections? > > > > It doesn't seem to work. > > > > If any knows what to do, please help. > > > > Regards > > > > - Jaco van der Schyff > > jvds@netgroup.co.za > > > > +27 12 803 7591 > > +27 12 803 7285 (f) > > +27 83 680 4922 (mobile) > > > > f6e2eb48937f22e159a408c84533cdcb > > > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/