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.
When I start Tor now the expected entries appear in the log.
Also this message:
Tor has successfully opened a circuit. Looks like your client functionality is working.
But after a few minutes (and later in a 20-minute interval) the following entries appear 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 data 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):
SocksPort 0 RunAsDaemon 1 DirPort 9030 ORPort 9001 Nickname abcd ContactInfo abcd Log notice file /var/log/tor/notices.log ExitPolicy reject *:* ControlPort 9051 CookieAuthentication 1
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.