[LARTC] Problems with HTB. Help!
Andrew Beverley
andy at andybev.com
Sat Feb 10 13:27:16 CET 2007
> >
> >
> > 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?
Hmmm not sure. No harm in upgrading I guess - I use 1.3.6
ftp://ftp.netfilter.org/pub/iptables/iptables-1.3.6.tar.bz2
More information about the LARTC
mailing list