diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-26 12:38:38 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-26 12:38:38 +0000 |
commit | 30707c31a23ad1848f574dc65309d6645f957db1 (patch) | |
tree | 6ce0d5a8992a5b84d1f7d10b376ece4a07752dd3 /torrc | |
parent | scotch now leaves normal data alone. added battery to tmux. (diff) | |
download | scripts-30707c31a23ad1848f574dc65309d6645f957db1.tar.gz scripts-30707c31a23ad1848f574dc65309d6645f957db1.zip |
tor as ipv6 proxy
Diffstat (limited to '')
-rw-r--r-- | torrc | 24 |
1 files changed, 14 insertions, 10 deletions
@@ -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 |