I have to two NICs in my ubuntu box. Both of these are connected to Internet. Is there a way to manually engineer the traffice between these two connections. Lets say based on port/ip pair.

I am new to *nix so any help or idea would be greatly appreciated. Thank you in advance.