RE: Problems with HTB. Help!

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 
> > 
> > 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



_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux