aboutsummaryrefslogtreecommitdiffstats
path: root/torrc
diff options
context:
space:
mode:
Diffstat (limited to 'torrc')
-rw-r--r--torrc24
1 files changed, 14 insertions, 10 deletions
diff --git a/torrc b/torrc
index bf7c2c5..fee79f3 100644
--- a/torrc
+++ b/torrc
@@ -13,16 +13,16 @@
## Tor will look for this file in various places based on your platform:
## https://www.torproject.org/docs/faq#torrc
-ControlSocket /run/tor/control
-ControlSocketsGroupWritable 1
-CookieAuthentication 1
-CookieAuthFile /run/tor/control.authcookie
-CookieAuthFileGroupReadable 1
+# ControlSocket /run/tor/control
+# ControlSocketsGroupWritable 1
+# CookieAuthentication 1
+# CookieAuthFile /run/tor/control.authcookie
+# CookieAuthFileGroupReadable 1
## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't
## configure one below. Set "SOCKSPort 0" if you plan to run Tor only
## as a relay, and not make any local application connections yourself.
-#SOCKSPort 9050 # Default: Bind to localhost:9050 for local connections.
+SOCKSPort [::1]:9050 # Default: Bind to localhost:9050 for local connections.
#SOCKSPort 192.168.0.1:9100 # Bind to this address:port too.
## Entry policies to allow/deny SOCKS requests based on IP address.
@@ -61,11 +61,11 @@ CookieAuthFileGroupReadable 1
## The port on which Tor will listen for local connections from Tor
## controller applications, as documented in control-spec.txt.
-#ControlPort 9051
+ControlPort 9051
## If you enable the controlport, be sure to enable one of these
## authentication methods, to prevent attackers from accessing it.
-#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
-#CookieAuthentication 1
+# HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
+CookieAuthentication 1
############### This section is just for location-hidden services ###
@@ -253,4 +253,8 @@ CookieAuthFileGroupReadable 1
## The %include option can be used recursively.
#%include /etc/torrc.d/
#%include /etc/torrc.custom
-
+ClientUseIPv4 0
+ClientUseIPv6 1
+ClientPreferIPv6ORPort 1
+AddressDisableIPv6 0
+HTTPTunnelPort [::1]:8118