mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-12 18:32:56 +01:00
add tor config
This commit is contained in:
parent
e374327145
commit
eae4b7438c
1 changed files with 18 additions and 0 deletions
18
etc/tor/torrc.cgt
Normal file
18
etc/tor/torrc.cgt
Normal file
|
@ -0,0 +1,18 @@
|
|||
User tor
|
||||
Log notice syslog
|
||||
DataDirectory /var/lib/tor
|
||||
|
||||
ControlPort 9051
|
||||
|
||||
ControlSocket /var/lib/tor/control_socket
|
||||
ControlSocketsGroupWritable 1
|
||||
DataDirectoryGroupReadable 1
|
||||
CacheDirectoryGroupReadable 1 # workaround for tor bug #26913
|
||||
|
||||
<! if opt.tor_pw_hash then !>
|
||||
HashedControlPassword <% opt.tor_pw_hash %>
|
||||
<! end !>
|
||||
|
||||
CookieAuthentication 1
|
||||
CookieAuthFile /var/lib/tor/control_auth_cookie
|
||||
CookieAuthFileGroupReadable 1
|
Loading…
Reference in a new issue