Traffic shaping is normally only possible on outbound traffic, notinbound. You need to have a look at the Linux Advanced & Traffic ContrilHowto http://lartc.org/