### torrc.example  -*- Conf -*-
## Tor configuration.

### Ivan Shmakov, 2018, 2019, 2020

## To the extent possible under law, the author(s) have dedicated
## all copyright and related and neighboring rights to this software
## to the public domain worldwide.  This software is distributed
## without any warranty.

## You should have received a copy of the CC0 Public Domain Dedication
## along with this software.  If not, see
## <http://creativecommons.org/publicdomain/zero/1.0/>.

### Data:

## Default:
# SocksPort 9050

## Alternative:
# SocksPort 192.0.2.34:9100

## In the latter case, the following ACL entries may be useful
# SocksPolicy accept 192.0.2.0/24
# SocksPolicy reject *

DataDirectory /var/cache/tor

### Hidden services

# HiddenServiceDir /var/lib/tor/bishjays
# HiddenServicePort 80 127.0.0.1:3147

### Relaying

## Be sure to adjust per available spare bandwidth

RelayBandwidthRate   384 KB
RelayBandwidthBurst 1024 KB

AccountingMax 7 GB
AccountingStart day 00:00

# ContactInfo John R. Hacker <jrh [at] example [dot] com>

# ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more
# ExitPolicy accept *:119 # accept nntp as well as default exit policy
ExitPolicy reject *:* # no exits allowed

### torrc.example ends here
