There is also tool called proxychains (
http://proxychains.sourceforge.net/)
that can do the job but the limitation is that its not automated for any program that you run you need to start every program from it like this example:
bash$ proxychains telnet targethost.com
so the problem is that if you want to hide your self for all your traffic throw the tunnel you probably will make some mistakes and not all the time run the program from it... i must to find tool like proxifier for linux its awesome tool!!