Skip to content

Instantly share code, notes, and snippets.

@nikcub
Last active October 20, 2022 13:29
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nikcub/9722068 to your computer and use it in GitHub Desktop.
Tor Relay & Bridge Config
#
# tor relay / bridge config
#
# apt-get install tor
#
# yum install tor (after adding EPEL or similar as a repo)
#
# dump this config file into the default tor config file location (/etc/tor/torrc)
#
# see also: https://www.torproject.org/docs/installguide.html.en
#
# don't run local SOCKS
SocksPort 0
# run relay
ORPort 9001
# run bridge - check logs after for ip:port and fingerprint you should share
# see also: https://www.torproject.org/docs/bridges.html.en
BridgeRelay 1
# whatever here
Nickname nnet
ContactInfo none <none@none.com>
# bandwidth resources.
# 354KB averages out to be 1TB per month. m ultiply out accordingly based on your quota
RelayBandwidthRate 354 KB
RelayBandwidthBurst 512 KB
# don't run as an exit node
ExitPolicy reject *:*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment