How to fix a Tor relay picking the wrong IP address
If Tor detects the wrong IP address for your relay, you can correct it by checking your hostname settings or specifying the desired address in torrc.
Tor 通过询问电脑的主机名来猜测它的 IP 地址,然后解析那个主机名。通常 /etc/hosts 文件里有指向旧 IP 地址的旧条目。
如果问题无法被解决,请通过“ Address”配置选项来指定您想选取的 IP 地址。如果您的电脑位于 NAT 后,并且只有一个内部 IP 地址,请查看以下有关动态 IP 地址的“支持”内容。
并且,如果你有许多地址,可设置“OutboundBindAddress”,这样外部连接将使用你想要开放的 IP 地址。