torrc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ## Configuration file for an atypical Tor user
  2. ## Based on torrc configurations provided by...
  3. # https://gitweb.torproject.org/tor.git/plain/src/config/torrc.sample.in
  4. # https://git-tails.immerda.ch/tails/plain/config/chroot_local-includes/etc/tor/torrc
  5. # https://www.torproject.org/docs/tor-manual.html.en
  6. ## The directory for keeping all the keys/etc. By default, we store
  7. ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
  8. DataDirectory /var/lib/tor
  9. # Stream Isolation
  10. ## https://tails.boum.org/contribute/design/stream_isolation/
  11. ## https://wiki.gentoo.org/wiki/Tor#Stream_isolation
  12. ## Default SocksPort
  13. SocksPort 127.0.0.1:9050 IsolateDestAddr IsolateDestPort
  14. ## SocksPort for the MUA
  15. SocksPort 127.0.0.1:9061 IsolateDestAddr
  16. ## SocksPort for misc applications
  17. SocksPort 127.0.0.1:9062 IsolateDestAddr IsolateDestPort
  18. ## SocksPort for the default web browser
  19. SocksPort 127.0.0.1:9150 IsolateSOCKSAuth KeepAliveIsolateSOCKSAuth
  20. ## The port on which Tor will listen for local connections from Tor
  21. ## controller applications, as documented in control-spec.txt.
  22. #ControlPort 9051
  23. #ControlListenAddress 127.0.0.1
  24. ## Torified DNS
  25. DNSPort 127.0.0.1:9053 IsolateClientAddr IsolateSOCKSAuth IsolateClientProtocol IsolateDestPort IsolateDestAddr
  26. AutomapHostsOnResolve 1
  27. AutomapHostsSuffixes .exit, .onion
  28. #ClientDNSRejectInternalAddresses 1 (Default is already 1)
  29. ClientRejectInternalAddresses 1
  30. ## Transparent proxy
  31. TransPort 127.0.0.1:9040 IsolateClientAddr IsolateSOCKSAuth IsolateClientProtocol IsolateDestPort IsolateDestAddr
  32. ## Misc
  33. AvoidDiskWrites 1
  34. Sandbox 1
  35. ExtraInfoStatistics 0
  36. EnforceDistinctSubnets 1