mirror of
https://github.com/casjaysdevdocker/ddns
synced 2025-01-19 06:34:26 -05:00
50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
|
## https://github.com/torproject/tor/blob/main/src/config/torrc.sample.in
|
||
|
############### Configuration file for a typical Tor user
|
||
|
ControlSocket /run/tor/control
|
||
|
ControlSocketsGroupWritable 1
|
||
|
CookieAuthentication 1
|
||
|
CookieAuthFile /run/tor/control.authcookie
|
||
|
CookieAuthFileGroupReadable 1
|
||
|
SOCKSPort 9050
|
||
|
SOCKSPolicy accept *
|
||
|
RunAsDaemon 0
|
||
|
DataDirectory /var/lib/tor
|
||
|
ControlPort 9051
|
||
|
Log notice stderr
|
||
|
#HashedControlPassword 16:kfhkajdsfhkjadhfiuhfhdjcahsf
|
||
|
|
||
|
############### dnsforwarder
|
||
|
DNSPort 8053
|
||
|
AutomapHostsOnResolve 1
|
||
|
AutomapHostsSuffixes .exit,.onion
|
||
|
|
||
|
############### This section is just for location-hidden services ###
|
||
|
#HiddenServiceDir /data/tor/hidden/default
|
||
|
#HiddenServicePort 22 127.0.0.2:22
|
||
|
|
||
|
################ This section is just for relays #####################
|
||
|
#ORPort 9001
|
||
|
#ORPort 443 NoListen
|
||
|
#ORPort 127.0.0.1:9090 NoAdvertise
|
||
|
#Address noname.example.com
|
||
|
# OutboundBindAddress 10.0.0.5
|
||
|
#Nickname ididnteditheconfig
|
||
|
#RelayBandwidthRate 100 KBytes # Throttle traffic to 100KB/s (800Kbps)
|
||
|
#RelayBandwidthBurst 200 KBytes # But allow bursts up to 200KB (1600Kb)
|
||
|
#AccountingMax 40 GBytes
|
||
|
#AccountingStart day 00:00
|
||
|
#AccountingStart month 3 15:00
|
||
|
#ContactInfo Random Person <nobody AT example dot com>
|
||
|
#DirPort 9030 # what port to advertise for directory connections
|
||
|
#DirPort 80 NoListen
|
||
|
#DirPort 127.0.0.1:9091 NoAdvertise
|
||
|
#DirPortFrontPage /etc/tor/tor-exit-notice.html
|
||
|
#MyFamily $keyid,$keyid,...
|
||
|
#ExitPolicy accept *:6660-6667,reject *:* # allow irc ports on IPv4 and IPv6 but no more
|
||
|
#ExitPolicy accept *:119 # accept nntp ports on IPv4 and IPv6 as well as default exit policy
|
||
|
#ExitPolicy accept *4:119 # accept nntp ports on IPv4 only as well as default exit policy
|
||
|
#ExitPolicy accept6 *6:119 # accept nntp ports on IPv6 only as well as default exit policy
|
||
|
#ExitPolicy reject *:* # no exits allowed
|
||
|
#BridgeRelay 1
|
||
|
#PublishServerDescriptor 0
|