I've been trying to set up a tor relay with a Raspberry Pi. It runs Raspbian GNU/Linux 9 and Tor 0.2.9.16.
Since I only want to use the Raspberry for the tor relay I didn't do much. After installing Raspbian, I set up ssh and installed tor. I have configured a static IP address via my router and forwarded the needed ports (see below).
In order to monitor my relay I installed a tool called nyx afterwards. It's mentioned in "The Tor Relay Guide". [https://trac.torproject.org/projects/tor/wiki/TorRelayGuide#Tools]
When I start Tor now the expected entries appear in the log.
Tor has successfully opened a circuit. Looks like your client functionality is working.
But after a few minute (and later in a 20 minute interval) the following entries appears in the log:
[WARN] Your server (xx.xx.xx.xxx:9030) has not managed to confirm that its DirPort is reachable. Relays do not publish descriptors until their ORPort and DirPort are reachable. Please check your firewalls, ports, adress, /etc/hosts file, etc.
[WARN] Your server (xx.xx.xx.xxx:9001) has not managed to confirm that its ORPort is reachable. Relays do not publish descriptors until their ORPort and DirPort are reachable. Please check your firewalls, ports, adress, /etc/hosts file, etc.
I dont't know why these warnings are coming up. Especially since I see with nyx connections appearing and date being transferred.
This is the configuration in my /etc/tor/torrc-file (I have exchanged the nickname and the contact info with abcd in this post) :
Log notice file /var/log/tor/notices.log
ExitPolicy reject *:*
And with my router (Fritz!Box 6490 Cable) I have enabled port forwarding for these ports:
I know that similar questions have already been asked and can be found relatively quickly on the internet, but none of the answers have helped me so far, so I ask here.
I have no idea why the error messages appear and how to solve the problem. If anyone has an idea, please, let me know. I'm grateful for any help!