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
|
|
9
|
# Default Tor address and port. By default, Tor will listen on localhost for
|
10
|
# any SOCKS connection and relay the traffic on the Tor network.
|
11
|
TorAddress 127.0.0.1
|
12
|
TorPort 9062
|
13
|
|
14
|
# Tor hidden sites do not have real IP addresses. This specifies what range of
|
15
|
# IP addresses will be handed to the application as "cookies" for .onion names.
|
16
|
# Of course, you should pick a block of addresses which you aren't going to
|
17
|
# ever need to actually connect to. This is similar to the MapAddress feature
|
18
|
# of the main tor daemon.
|
19
|
OnionAddrRange 127.42.42.0/24
|
20
|
|
21
|
# SOCKS5 Username and Password. This is used to isolate the torsocks connection
|
22
|
# circuit from other streams in Tor. Use with option IsolateSOCKSAuth (on by
|
23
|
# default) in tor(1). TORSOCKS_USERNAME and TORSOCKS_PASSWORD environment
|
24
|
# variable overrides these options.
|
25
|
#SOCKS5Username <username>
|
26
|
#SOCKS5Password <password>
|
27
|
|
28
|
# Set Torsocks to accept inbound connections. If set to 1, listen() and
|
29
|
# accept() will be allowed to be used with non localhost address. (Default: 0)
|
30
|
#AllowInbound 1
|
31
|
|
32
|
# Set Torsocks to allow outbound connections to the loopback interface.
|
33
|
# If set to 1, connect() will be allowed to be used to the loopback interface
|
34
|
# bypassing Tor. If set to 2, in addition to TCP connect(), UDP operations to
|
35
|
# the loopback interface will also be allowed, bypassing Tor. This option
|
36
|
# should not be used by most users. (Default: 0)
|
37
|
#AllowOutboundLocalhost 1
|
38
|
|
39
|
# Set Torsocks to use an automatically generated SOCKS5 username/password based
|
40
|
# on the process ID and current time, that makes the connections to Tor use a
|
41
|
# different circuit from other existing streams in Tor on a per-process basis.
|
42
|
# If set, the SOCKS5Username and SOCKS5Password options must not be set.
|
43
|
# (Default: 0)
|
44
|
#IsolatePID 1
|
45
|
|
46
|
# Enable IPv6 support in torsocks. torsocks IPv6 support is currently incomplete
|
47
|
# and can have some tricky failure modes.
|
48
|
#EnableIPv6 1
|