You can use iptables to mark traffic meeting certain criteria for handling upstream. If you need to control/shape traffic on the target itself, you will need to install/configure some different tools (not sure if they are on the feeds for installation, though)