How can I make Tor route all my traffic?
How can I set Tor to route all of my internet traffic? So, if I want to use any program to connect to a website or send requests to it, is there any way that I can make Tor hide my IP at all times?
Yes you can use Tortilla is a program designed to create a virtual adapter which uses only tor connection, the program is here https://github.com/CrowdStrike/Tortilla
This is a near-identical question to this. In the program you're looking to redirect, find the setting for defining a 'proxy', and use IP 127.0.0.1 (or 'localhost) and port 8118.
You really wouldnt want to. Tor is an extremely slow network, designed for viewing web pages anonymously (with lots of caveats). Also, there is no guarantee that your application would keep your anonymity. A perfect example of not running other applications through Tor's network is explained by this article from the developers of Tor.
If you run the Tor Browser then go into your network settings and tell all network activity to go through the Tor proxy then that theoretically should do it.
Like in this how to: http://www.wikihow.com/Route-All-Network-Traffic-Through-the-Tor-Network
This scripts seems to be exactly what you're looking for:
https://github.com/GouveaHeitor/nipe
This Perl Script enables you to directly route all your traffic from your computer to the Tor Network ...