Hi,
I’ve tried (but not verified that it works) to set a IPv4 DynDNS address in my torrc
:
Address torberry.ignorelist.com
That’s a DynDNS hostname via Freedns (afraid.org). I can reach port 9001 from outside via this hostname. If it works, should I see the hostname via metrics?
For IPv6 the connections are not working yet, although I can access the ORPort via IPv6 address from outside.
First, Tor somehow finds and advertises an IP address that I dunno where it’s coming from (in the log):
Auto-discovered IPv6 address [...]:9001 has not been found reachable. However, IPv4 address is reachable.
I can’t see this address via ifconfig
and wonder why it doesn’t choose one of the global IPv6 addresses stated by ifconfig
.
Second, I’m trying to set up a kind of DynDNS with my Fritz!Box router (MyFritz). Am I missing a corresponding option like Address
for an IPv6 hostname?
Not sure with IPv6, but would it need another hostname than for IPv4 DynDNS? (anyway, I can’t get IPv6 working via FreeDNS, and chances sem better via Fritz!Box / MyFritz).
Edit:
I’ve found that it’s possible to use Address twice (here and here).
So for IPv4 I use the DynDNS hostname, and for IPv6 an address via which I can connect to the Tor service via telnet.
But after a SIGHUP the log still shows the same IPv6 address as “auto-discovered” and tells it can’t be reached.
It’s a bit confusing, because here they set the ORPort a second time, once for IPv4 and once for IPv6.
I’ve set the ORPort to 9001 without any address, and it’s a bit confusing…should I also put the addresses into ORPort?
Edit 2:
Using the Address field twice (IPv4 hostname and IPv6 address) seems okay in the Tor relay’s log, but metrics report it as down. The first time I see a disagreement between what the service (journalctl) and what Tor metrics is reporting. So I’m switching back.