Will the following commands limit my ftpserver upload speed on the
passive ports?
 

iptables -t mangle -A FORWARD -m tcp -p tcp -s 192.168.1.101 --sport
50000:60000 -j MARK --set-mark 0x02
tc qdisc add dev eth0 root handle 1: htb default 20
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 340kbit burst 6k
prio 2

 
I want to mark the packets from 192.168.1.101 ports 50000-60000.....and
limit the speed to 340kbit.
 
Mark

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to