torsocks.conf 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This is the configuration for libtorsocks (transparent socks) for use
  2. # with tor, which is providing a socks server on port 9050 by default.
  3. #
  4. # Lines beginning with # and blank lines are ignored
  5. # Much more documentation than provided in these comments can be found in
  6. #
  7. # torsocks.conf(5), torsocks(1) and torsocks(8) manpages.
  8. # Default Tor address and port. By default, Tor will listen on localhost for
  9. # any SOCKS connection and relay the traffic on the Tor network.
  10. TorAddress 127.0.0.1
  11. TorPort 9050
  12. # Tor hidden sites do not have real IP addresses. This specifies what range of
  13. # IP addresses will be handed to the application as "cookies" for .onion names.
  14. # Of course, you should pick a block of addresses which you aren't going to
  15. # ever need to actually connect to. This is similar to the MapAddress feature
  16. # of the main tor daemon.
  17. OnionAddrRange 127.42.42.0/24
  18. # SOCKS5 Username and Password. This is used to isolate the torsocks connection
  19. # circuit from other streams in Tor. Use with option IsolateSOCKSAuth (on by
  20. # default) in tor(1). TORSOCKS_USERNAME and TORSOCKS_PASSWORD environment
  21. # variable overrides these options.
  22. #SOCKS5Username <username>
  23. #SOCKS5Password <password>
  24. # Set Torsocks to accept inbound connections. If set to 1, listen() and
  25. # accept() will be allowed to be used with non localhost address. (Default: 0)
  26. #AllowInbound 1
  27. # Set Torsocks to allow outbound connections to the loopback interface.
  28. # If set to 1, connect() will be allowed to be used to the loopback interface
  29. # bypassing Tor. This option should not be used by most users. (Default: 0)
  30. #AllowOutboundLocalhost 1
  31. # Set Torsocks to use an automatically generated SOCKS5 username/password based
  32. # on the process ID and current time, that makes the connections to Tor use a
  33. # different circuit from other existing streams in Tor on a per-process basis.
  34. # If set, the SOCKS5Username and SOCKS5Password options must not be set.
  35. # (Default: 0)
  36. #IsolatePID 1