* [LARTC] Re: Fwmark and HTB: Mark not working!
@ 2002-04-30 14:15 Shanker Balan
0 siblings, 0 replies; only message in thread
From: Shanker Balan @ 2002-04-30 14:15 UTC (permalink / raw)
To: lartc
Hello:
Shanker Balan wrote,
> tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:10
> iptables -t mangle -A PREROUTING -i eth0 -p tcp -d 192.168.1.24
> --dport 80 -j MARK --set-mark 1
Woohoo! I found my bug! It never quite occurred to me that marking has
to be done on packets which _leave_ the interface! :-D
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1 fw flowid 1:10
iptables -t mangle -A POSTROUTING -p tcp -s 192.168.1.24 --sport 80 -j MARK --set-mark 1
Thank you for your time.
-- Shanu
BTW: PiotR, thanx a lot for the wonderful rrdtool scripts, works great
over here.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-30 14:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-30 14:15 [LARTC] Re: Fwmark and HTB: Mark not working! Shanker Balan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.