torrc-client: add SocksPorts and comment on two guards

I need unisolated port for dnscrypt-proxy which I fear would otherwise
generate too many circuits which wouldn't even be used and I guess
there is no harm in sending Yggdrasil to a separate port that only has
access to onions which is a port I may sometimes wish I have otherwise
too.
This commit is contained in:
Aminda Suomalainen 2019-05-15 10:31:47 +03:00
parent 95bcf095df
commit e972a47d4a
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -9,6 +9,8 @@ SyslogIdentityTag client
# they aren't publicly listed and may let through Tor blocks. # they aren't publicly listed and may let through Tor blocks.
# https://trac.torproject.org/projects/tor/ticket/16947 # https://trac.torproject.org/projects/tor/ticket/16947
SocksPort 9050 IsolateDestAddr PreferIPv6 SocksPort 9050 IsolateDestAddr PreferIPv6
SocksPort 9052 PreferIPv6
SocksPort 9060 OnionTrafficOnly
# Uncomment to disable IPv4 # Uncomment to disable IPv4
#ClientUseIPv4 0 #ClientUseIPv4 0
@ -35,3 +37,6 @@ CookieAuthentication 1
#ControlSocket /run/tor/control GroupWritable RelaxDirModeCheck #ControlSocket /run/tor/control GroupWritable RelaxDirModeCheck
#ControlSocketsGroupWritable 1 #ControlSocketsGroupWritable 1
#SocksPort unix:/run/tor/socks WorldWritable IsolateDestAddr PreferIPv6 #SocksPort unix:/run/tor/socks WorldWritable IsolateDestAddr PreferIPv6
# https://gitweb.torproject.org/torspec.git/tree/proposals/291-two-guard-nodes.txt
#NumEntryGuards 2