Do not use in production Server or if you don't know what iptables do
Add this to torrc ( located on /etc/tor/torrc):
VirtualAddrNetwork 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9051 DNSPort 9053
Run the attached script as root so all traffic will route from Tor. you can also use attached torrc as a sample.
Thank you for your response. I have to go sure that everything running on the system goes through tor. Apparently I don't know anymore what I had to do but this seems to be a good thing. What do you mean with 'dns leakage'?