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