From: "tkb2766" Date: Sat, 10 Feb 2007 12:19:30 +0000 Subject: RE: [LARTC] Problems with HTB. Help! Message-Id: <008201c74d0d$b6e7d9f0$8cc8a8c0@anroet.com> List-Id: References: <043001c74911$d06d1570$8cc8a8c0@anroet.com> In-Reply-To: <043001c74911$d06d1570$8cc8a8c0@anroet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > -----Original Message----- > From: Andrew Beverley [mailto:andy@andybev.com] > Sent: Saturday, 10 February 2007 23:04 > To: tkb2766 > Cc: 'LARTC' > Subject: RE: [LARTC] Problems with HTB. Help! > > > iptables -t mangle -A FORWARD -o eth1 --source 10.0.14.250 -p tcp \ > --sport 6881 -j CLASSIFY --set-class 2:12 > > seems to do the trick. > > You'll need to change tcp to udp if it's UDP that you want to match > rather than TCP. > I tried using the CLASSIFY target in IPTABLES, but it errors out with the following: ************* iptables v1.2.8: Unknown arg `--set-class' Try `iptables -h' or 'iptables --help' for more information. ************* Do I need to installer a later version of IPTABLES? Cheers, tkb. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc