Hello,
Monero comes pre-installed in Whonix Workstation.
I have installed a full node (monerod
) and it is now fully in synch (that is, it has downloaded all the blockchain). I have successfully set up a RPC onion service, which works great.
However I am having troubles setting up a p2p onion service. I believe my issues are Whonix (configuration) specific, this is why I am asking here.
QUESTION: How to run a p2p onion service in the Whonix Gateway?
I have:
- Setup in the Whonix gateway a onion service by adding the lines:
HiddenServiceDir /var/lib/tor/monero-p2p/
HiddenServicePort 18083 10.152.152.11:18083 # onion-p2p
HiddenServiceVersion 3
and have setup the firewall in the workstation for allowing incoming traffic to port 18083. I have checked that the service works (by launching a http server listening at 18083 in the Workstation, which is correctly reachable from the TOR browser).
So the basic hidden service setup is done correctly. The problems I have are monero (configuration) specific.
- Following the documentation here (
https://monerodocs.org/running-node/open-node-tor-onion/
) and here (https://github.com/monero-project/monero/blob/master/docs/ANONYMITY_NETWORKS.md
) , I have edited the~/.bitmonero/bitmonero.conf
configuration file adding the following lines:
tx-proxy=tor,10.152.152.11:9050,10
anonymous-inbound = myonionaddress.onion:18083,0.0.0.0:18083,10
the first line should (?) point monerod
to the socks proxy used to send stuff over TOR. I am not sure if this line is correct in the context of Whonix Gateway, where all traffic goes automatically through the proxy.
The second line should inform the rest of the network on how to find my hidden address, and specify where to listen (0.0.0.0:18083
).
I can verify with ss -l | grep 18083
) that monerod
correctly listens on this port.
RESULTS: with the above configuration, when I check the status of monerod
I get: 12(out)+0(in) connections
. In other words, nobody manages to connect to me.
Also checking with the service (https://www.ditatompel.com/monero/remote-node
), it can’t see my onion service up.
HELP: Please help. My node works fine, but I’d like to contribute to the network by accepting remote connections to allow others to synchronize. If anybody has successfully done this in Whonix, please help