Adi Nugroho said: > Dear all, > > I want to make a filter for all IRC-Dalnet traffic, so I want to put > all traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, > 6668, 6669, 7000, 7001, 7002, and 8000 to a class. So, I create a TC > script as below. > > I'm sure, it is not effective, and we can write it in simpler. > I need help, how to make my script below are simpler. > The simpler, the better. One approach would be to use iptables/ipchains to mark your packets and then select the tc class based on the fw mark. There some examples posted in the archives of this list or you could look as my firewall script (on my site) for an example. Alex www.bennee.com/~alex/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/