[tor-relays] Journal warnings spam

Hey guys,

Do you have any solution to stop the spam caused by tor:

The IPv4 ORPort address 127.0.0.1 does not match the descriptor address . If you have a static public IPv4 address, use ‘Address ’ and ‘OutboundBindAddress ’.

Indeed I have a static IP but behind nat, so defining it in torrc is not possible as it can’t bind to it.

You can use:

Address 123.45.67.89 # Your public IP or DNS name
ORPort 1234 NoListen # port number on the public IP address, set up DNAT to forward this to your Tor relay
ORPort 10.1.2.3:4567 NoAdvertise # The local IP address and port behind the NAT - this is what the relay will bind
ORPort [2001:dead:beef::1:2:3]:4567 # If you have public IPv6 in your local network then you can add it here

Then configure DNAT on your router to forward 123.45.67.89:1234 to 10.1.2.3:4567

···

On 15/11/2024 13:01, Dionysios K. wrote:

Hey guys,

Do you have any solution to stop the spam caused by tor:

The IPv4 ORPort address 127.0.0.1 does not match the descriptor address <IP>. If you have a static public IPv4 address, use 'Address <IPv4>' and 'OutboundBindAddress <IPv4>'.

Indeed I have a static IP but behind nat, so defining it in torrc is not possible as it can't bind to it.

Great tip

Thank you! :slight_smile:

- ------ Original Message ------

From "Chris Kerr" <chris.kerr@mykolab.ch>

To tor-relays@lists.torproject.org
Date 18/11/2024 5:45:28 μμ
Subject [tor-relays] Re: Journal warnings spam

···

On 15/11/2024 13:01, Dionysios K. wrote:

Hey guys,

Do you have any solution to stop the spam caused by tor:

The IPv4 ORPort address 127.0.0.1 does not match the descriptor address <IP>. If you have a static public IPv4 address, use 'Address <IPv4>' and 'OutboundBindAddress <IPv4>'.

Indeed I have a static IP but behind nat, so defining it in torrc is not possible as it can't bind to it.

You can use:

Address 123.45.67.89 # Your public IP or DNS name
ORPort 1234 NoListen # port number on the public IP address, set up DNAT to forward this to your Tor relay
ORPort 10.1.2.3:4567 NoAdvertise # The local IP address and port behind the NAT - this is what the relay will bind
ORPort [2001:dead:beef::1:2:3]:4567 # If you have public IPv6 in your local network then you can add it here

Then configure DNAT on your router to forward 123.45.67.89:1234 to 10.1.2.3:4567