How to Run a Monero Node via Tor Proxy for Maximum Privacy

Why Privacy Matters in Monero Transactions

Monero (XMR) is the leading cryptocurrency focused on privacy, using advanced cryptographic techniques like ring signatures, stealth addresses, and Ring Confidential Transactions (RingCT) to obscure transaction details. However, even with these protections, your IP address can still reveal your location and browsing habits when connecting to the Monero network. This is where running a Monero node via a Tor proxy becomes essential.

By routing your node traffic through the Tor network, you add an extra layer of anonymity, making it significantly harder for third parties—including internet service providers (ISPs), governments, or malicious actors—to track your blockchain interactions. Whether you're a privacy advocate, a Monero enthusiast, or someone concerned about surveillance, setting up a Monero node over Tor ensures your transactions remain truly untraceable.

What You Need Before Starting

Before diving into the setup process, gather the following tools and resources:

  • Monero Full Node Software: Download the latest version from the official Monero website. Choose the GUI or CLI version based on your preference.
  • Tor Browser or Tor Service: Install the Tor Browser for manual testing or set up the Tor service (tor daemon) for system-wide routing.
  • Operating System: This guide supports Linux (recommended), Windows, or macOS. Linux users will benefit from easier command-line integration.
  • Disk Space: A full Monero node requires approximately 150–200 GB of storage (as of 2024) and grows over time. Use an SSD for better performance.
  • Stable Internet Connection: A high-speed connection ensures smooth synchronization with the Monero blockchain.

Optional but recommended: a dedicated server or Raspberry Pi for 24/7 operation without affecting your main device.

Step-by-Step: Setting Up a Monero Node via Tor

Step 1: Install and Configure Tor

On Linux (Ubuntu/Debian), install Tor using:

sudo apt update && sudo apt install tor -y

After installation, edit the Tor configuration file:

sudo nano /etc/tor/torrc

Add the following lines to route all traffic through Tor:

SocksPort 9050
SocksPort 127.0.0.1:9050
RunAsDaemon 1
DataDirectory /var/lib/tor

Restart the Tor service:

sudo systemctl restart tor

Verify Tor is working by running:

curl --socks5-hostname 127.0.0.1:9050 https://check.torproject.org/api/ip

You should see an IP address associated with the Tor network.

Step 2: Configure Monero to Use Tor Proxy

Now, configure your Monero node to route all blockchain traffic through the Tor SOCKS5 proxy at 127.0.0.1:9050.

For the Monero CLI wallet (monero-wallet-cli) or daemon (monerod), use the --proxy flag:

monerod --proxy 127.0.0.1:9050 --rpc-bind-ip 127.0.0.1 --disable-dns-checkpoints

Alternatively, for the GUI version, edit the monero-wallet-gui startup command or use the settings menu to add the proxy parameter.

You can also set this permanently in the monerod.conf file (located in ~/.bitmonero/):

[net]
proxy=127.0.0.1:9050

Step 3: Verify Your Node is Running Over Tor

To confirm your Monero node is using Tor, check the logs or use network monitoring tools:

  • Run monerod --out-peers 64 --in-peers 1024 to increase peer connections and improve privacy.
  • Use netstat -tulnp | grep monerod to see active connections.
  • Check your outgoing IP using a Monero node explorer like monero.fail—it should show a Tor exit node IP.

If your IP doesn’t match a Tor exit node, double-check your proxy settings and firewall rules.

Advanced Tips for Maximum Privacy and Performance

Use a Hidden Service (Onion Address) for Your Node

For even greater privacy, you can run your Monero node as a Tor hidden service, allowing other Tor users to connect directly to you without revealing your real IP.

Edit your torrc file again and add:

HiddenServiceDir /var/lib/tor/monero_node/
HiddenServicePort 18089 127.0.0.1:18089

Restart Tor and retrieve your onion address:

sudo cat /var/lib/tor/monero_node/hostname

Then, configure your Monero node to bind to this port and share your onion address with trusted peers.

Optimize Bandwidth and Sync Time

  • Use pruning: Run monerod --prune-blockchain to reduce storage usage to ~50 GB while maintaining full validation.
  • Enable block download from multiple peers: Use --fast-block-sync and --block-sync-size 10 for faster sync.
  • Limit upload bandwidth: Prevent ISP throttling by capping upload speed in the config file.

Automate Startup with a Systemd Service (Linux)

Create a systemd service to ensure your Monero node starts automatically with Tor:

sudo nano /etc/systemd/system/monerod.service
Add the following content:

[Unit]
Description=Monero Full Node
After=tor.service

[Service]
User=monero
ExecStart=/usr/local/bin/monerod --proxy 127.0.0.1:9050 --rpc-bind-ip 127.0.0.1 --disable-dns-checkpoints
Restart=always

[Install]
WantedBy=multi-user.target

Enable and start the service:

sudo systemctl enable monerod
sudo systemctl start monerod

Common Challenges and Troubleshooting

Running a Monero node over Tor isn’t without hurdles. Here are solutions to frequent issues:

  • Slow sync: Tor can be slower than clearnet. Use --fast-block-sync and consider syncing on clearnet first, then switching to Tor.
  • Connection drops: Tor circuits expire every 10 minutes. Restart monerod periodically or use --out-peers 128 to maintain stable connections.
  • Firewall blocking: Ensure port 9050 (Tor) and 18080/18089 (Monero) are open and not blocked by your firewall.
  • GUI not detecting proxy: Manually edit the startup command in the GUI settings or use the CLI version for better control.

Conclusion: Take Control of Your Monero Privacy

Running a Monero node via a Tor proxy is one of the most effective ways to enhance your privacy in the Monero ecosystem. By routing your blockchain traffic through the Tor network, you prevent external observers from linking your IP address to your Monero transactions or node activity. This setup is ideal for privacy-conscious users, developers, and even those running public nodes to support the network.

While the process requires some technical knowledge, the peace of mind it provides—knowing your financial activity remains truly anonymous—is invaluable. Whether you're using a Raspberry Pi, a dedicated server, or your home PC, combining Monero with Tor creates a robust privacy solution that aligns with the core values of decentralization and anonymity.

Start today: set up your Monero node over Tor, verify your connection, and contribute to a more private and censorship-resistant financial future.