Created
February 16, 2020 15:46
-
-
Save brianlechthaler/4210f5c633533ff4572d9724d4bfbea8 to your computer and use it in GitHub Desktop.
Example torrc for Relays
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Example torrc for relay nodes | |
#Non-exit, logs, no socks proxy, ORPort 9001 | |
#RELAY CONFIG: | |
##Open ORPort on 9001 for inbound relay traffic. | |
###You will definitely need to expose this port to NAT and adjust iptables as necessary. | |
ORPort 9001 | |
##Set a nickname. | |
Nickname exampleTorrc | |
##Disable exit relaying. | |
###Exit relays are a very important part of the tor network. | |
###However, you should not attempt to run one unless you are fully aware of the potential consequences of doing so. | |
###Therefore, this config blocks exit relaying by default. | |
ExitPolicy reject *:* | |
#TOR CONFIG: | |
##Disable Socks to avoid exposing the relay. | |
SocksPort 0 | |
##Log to /var/log/tor/notice.log. | |
###Log file will contain useful information for running this relay. | |
Log notice file /var/log/tor/notice.log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment