1. Enable Automatic Software Updates

One of the most important things to keeps your relay secure is to install security updates timely and ideally automatically so you can not forget about it. Follow the instructions to enable automatic software updates for your operating system.

2. Add the following to /etc/yum.repos.d/tor.repo and then install the tor package.

name=Tor for Fedora $releasever - $basearch

sudo dnf install tor

3. Configuration File

Put the configuration file /etc/tor/torrc in place:

#change the nickname "myNiceRelay" to a name that you like
Nickname myNiceRelay
ORPort 9001
ExitRelay 0
# Change the email address below and be aware that it will be published
ContactInfo tor-operator@your-emailaddress-domain

4. Start the tor daemon and make sure it starts at boot

systemctl enable tor
systemctl start tor

5. Final notes

If you are having trouble setting up your relay, have a look at our help section. If your relay is now running, check out the post-install notes.