this post was submitted on 23 May 2024
8 points (78.6% liked)

Monero

1653 readers
24 users here now

This is the lemmy community of Monero (XMR), a secure, private, untraceable currency that is open-source and freely available to all.

GitHub

StackExchange

Twitter

Wallets

Desktop (CLI, GUI)

Desktop (Feather)

Mac & Linux (Cake Wallet)

Web (MyMonero)

Android (Monerujo)

Android (MyMonero)

Android (Cake Wallet) / (Monero.com)

Android (Stack Wallet)

iOS (MyMonero)

iOS (Cake Wallet) / (Monero.com)

iOS (Stack Wallet)

iOS (Edge Wallet)

Instance tags for discoverability:

Monero, XMR, crypto, cryptocurrency

founded 1 year ago
MODERATORS
 

How do I properly expose a BTCPay Monero node on Tor?

Is it sufficient to bind the hidden service to the container's IP and set the port to 18089, or are there additional considerations I need to be aware of?

https://sethforprivacy.com/guides/accepting-monero-via-btcpay-server/

top 4 comments
sorted by: hot top controversial new old
[–] Synnr@sopuli.xyz 1 points 5 months ago* (last edited 5 months ago) (1 children)

In the guide you linked, the docker container automatically sets up a hidden service. You don't need to do anything beyond firewall rules if it's not working for you.

[–] orwelwasright@monero.town 1 points 5 months ago (1 children)

Sorry, I'm trying to understand. On BTCPay Bitcoin based, they added an option for exposing a Tor Address from UI. The current Monero support is not their priority and their lacks the same funcionality on XMR payments.

Are you talking about this file?

[–] Synnr@sopuli.xyz 1 points 5 months ago* (last edited 5 months ago) (1 children)

Yes, but setting the environment variables before running setup. The following two coded env vars will set your btcpay server to automatically also run a tor hidden service. Once XMR is configured (only one wallet per server at the moment) you should be able to access the hidden service and pay without issue.

Run btcpay-setup.sh with the right parameters

Set the custom domain you chose to use

export BTCPAY_HOST="btcpay.EXAMPLE.com"

Use Bitcoin on mainnet

export NBITCOIN_NETWORK="mainnet"

Enable Bitcoin support

export BTCPAYGEN_CRYPTO1="btc"

Enable Monero support

export BTCPAYGEN_CRYPTO2="xmr"

opt-add-tor enables Tor support for the UI and Bitcoin node

export BTCPAYGEN_ADDITIONAL_FRAGMENTS="opt-save-storage-xs;opt-add-tor" 
[–] orwelwasright@monero.town 1 points 5 months ago

Thanks! But I'm looking Tor support for the Monero node and that's the initial question.