Setting up transparent proxy through TOR
Hello everyone,
I've been trying to transparently route all my traffic through TOR, as per the official guide: https://trac.torproject.org/projects...ansparentProxy (section "Transparently anonymizing traffic for a specific user"). However, the IPTables commands they provide always produce errors. The following commands: Code:
iptables -t nat -A OUTPUT ! -o lo -p tcp -m owner --uid-owner anonymous -m tcp -j REDIRECT --to-ports 9040 Can someone explain to me how to do this correctly? I am on Gentoo and using IPTables version 1.4.13. Thanks in advance, Itzamna |
It's possible that you have parts of Netfilter disabled in the kernel configuration; see http://en.gentoo-wiki.com/wiki/Iptables .
Anyway, if you still can't get it to work, you can try my tun2socks software to forward via Tor. You may however have some problems if you try to do it all on one machine (as opposed to having a Tor-ified virtual machine). |
All times are GMT -5. The time now is 11:32 PM. |