torrc 1.55 KB
ClientUseIPv6 1 #use IPv6
ClientPreferIPv6ORPort 1 #prefer IPv6
SocksPort 9051 # Default: Bind to port 9050 for connections

User nginx

RunAsDaemon 1

DataDirectory /var/lib/tor

############### This section is just for location-hidden services ###
## HiddenServicePort x y:z says to redirect requests on port x to the address y:z.

HiddenServiceDir /srv/tor/
HiddenServicePort 80 127.0.0.1:8080
HiddenServiceStatistics 1
#HiddenServicePort 443 127.0.0.1:443
#HiddenServicePort 80 127.0.0.1:80

Nickname 
ContactInfo 
#MaxCircuitDirtiness 7200 #feel free to change IP every 2hours (3600 * 2)
NumCPUs 1
ORPort 3002
DirPort 3001
ORPort [::]:3002

#BridgeRelay 1

BandwidthRate 2700 kB # Throttle traffic to 2400KB/s
BandwidthBurst 2900 KB # But allow bursts up to 2600KB/s

DNSPort 9053
AutomapHostsOnResolve 1
AutomapHostsSuffixes .exit,.onion

ExitPolicy reject *:* # no other exits allowed
ExitPolicy reject6 *:* 
##
## uncomment any of those to became an exit node
##
#ExitPolicy accept *:465 # smtps (SMTP over SSL)
#ExitPolicy accept *:993 # imaps (IMAP over SSL)
#ExitPolicy accept *:994 # ircs (IRC over SSL)
#ExitPolicy accept *:995 # pop3s (POP3 over SSL)
#ExitPolicy accept *:5222 # xmpp
#ExitPolicy accept *:6660-6697 # allow irc ports, very widely

# http://www.cs.kau.se/philwint/spoiled_onions/
ExcludeExitNodes {ru},{us}, 64.22.111.168/29, 121.54.175.51/32, 111.240.0.0/12, 89.128.56.73/32, 117.18.118.136/32, 178.211.39.0/24, 24.84.118.132/32
StrictNodes 1

Log notice file /var/log/tor/notices.log
#Log debug file /var/log/tor/debug.log

Log notice syslog
#Log debug syslog