Could you explain how to route all internet traffic through tor? I am using Ubuntu I really don't know how to do it. Actually I am using tor for twitter only, and I'm afraid of DNS leak. So I need to route everything through tor.
Ubuntu – How to route all internet traffic through Tor (the onion router)
internetroutingtor
Best Answer
You are looking for this: TransparentProxy.
Add to your torrc:
This way you setup DNS server on your Ubuntu on port 53 and Transparent proxy: 127.0.0.1:9040.
Next, add to your /etc/resolv.conf
This way, you prevent any DNS leakage from your system.
Therefore, configure your firewall in the light that any connection will going through TransPort except Tor's user:
Keep reading official wiki, there is kind of attack against this method and kind of solution: IsolatingProxy.