IP-tables and TOR

2010-08-24 Thread Michael Gomboc
Hi! Could some net filter expert give me some advise how to use iptables with TOR? I'm trying the following to drop all non TOR connections: iptables -F INPUT iptables -F OUTPUT iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -A OUTPUT -o lo -j ACCEPT iptables -A INPUT -i lo -j

Re: IP-tables and TOR

2010-08-24 Thread Jason
Michael Gomboc wrote: Hi! Could some net filter expert give me some advise how to use iptables with TOR? I'm trying the following to drop all non TOR connections: iptables -F INPUT iptables -F OUTPUT iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -A OUTPUT -o lo -j ACCEPT iptables

Re: IP-tables and TOR

2010-08-24 Thread Andrew Lewman
On Tue, 24 Aug 2010 13:54:14 -0400 Michael Gomboc michael.gom...@gmail.com wrote: Could some net filter expert give me some advise how to use iptables with TOR? For your specific question, https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/BlockNonTorTrafficDebian For the larger

More flexible IP-tables and TOR ?

2010-08-24 Thread heidenh...@attac.de
It is certainly cool to ONLY allow Tor to the internet, but in my opinion in real world, there are some connections/circumstances where you want don't want to have Tor in the middle: Mail, Webaccounts, data-intensive downloads/upgrades. I think, that's where p.e. Torbutton comes in ... and the