globaleaks/GlobaLeaks — Issue #91: Tor config
Author: ioerror
Created: 2011-10-19 16:44:32+00:00
State: open

We need a single Tor config that meets all of our needs. Here's a start that does not need to run as root or an admin of any kind:

```
SocksPort 9050
VirtualAddrNetwork 10.23.47.0/10
AutomapHostsOnResolve 1
TransPort 9040
TransListenAddress 127.0.0.1
DNSPort 5353
DNSListenAddress 127.0.0.1
# Hidden Service key/info dir
HiddenServiceDir /var/lib/globaleaks/hiddenservice/
HiddenServicePort 80 127.0.0.1:8000
```

This gives us a SOCKS port on 127.0.0.1:9050 and a transport on 127.0.0.1:9040 as well as a limited DNS server on 127.0.0.1:5353.

I think this is a good start for a Tor config.