docker-monero-node icon indicating copy to clipboard operation
docker-monero-node copied to clipboard

Tor HiddenService missing?

Open voltagebushels82 opened this issue 10 months ago • 7 comments

I am missing something, or there are no tor HiddenService enabled by default? The only way to connect node to wallet is through clearnet?

voltagebushels82 avatar Feb 09 '25 20:02 voltagebushels82

afaik #29 added tor routing for p2p, so ye no --anonymous-inbound address for rpc

Personally, im running tor outside of docker :P

Dvd-Znf avatar Feb 09 '25 21:02 Dvd-Znf

correct. there is a bug with with --anonymous-inbound that leaks data (https://github.com/monero-project/monero/pull/9632).

Once that release is out I'll update the repo to include the hidden service.

lalanza808 avatar Feb 09 '25 21:02 lalanza808

correct. there is a bug with with --anonymous-inbound that leaks data (monero-project/monero#9632).

Once that release is out I'll update the repo to include the hidden service.

As I understand anonymous-inbound is related to p2p connection between nodes. I was talking about rpc connection from wallet to node. There should be a hidden service to pointing to RPC restricted port.

voltagebushels82 avatar Feb 09 '25 23:02 voltagebushels82

sure, but there is nothing preventing you from setting up the hidden service and mapping it to the rpc port on the host.

lalanza808 avatar Feb 10 '25 04:02 lalanza808

Yes there is actually, I don’t know how to do in clean way - how to export .onion address from tor container and pass it to monerod config, without having to stop and edit it manually. Also I just asked why this is not present in this repo by default when you claim tor and i2p support? Seems pretty important to me.

voltagebushels82 avatar Feb 10 '25 08:02 voltagebushels82

But for RPC it doesn’t look like you need to pass it to monerod config no? All you would need is to setup the tor hidden service like you would for anything else,, And if you really want it from docker, you can print the onion address to the container logs or something

I can look into this later and try to PR,.,,

Dvd-Znf avatar Feb 10 '25 09:02 Dvd-Znf

i don't claim anything... Image

if you'd like the tool to have something please consider adding it yourself. i can also prioritize new features if you're willing to pay me for them. in any case, cordiality is always expected.

it looks like @Dvd-Znf is working on what you're looking for.

lalanza808 avatar Feb 10 '25 16:02 lalanza808

added in #41

lalanza808 avatar Apr 11 '25 15:04 lalanza808