> For the complete documentation index, see [llms.txt](https://docs.anyone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyone.io/sdk/integrations/monero-cli.md).

# Monero CLI

Using Monero CLI Wallet with Anyone Network.

This guide shows how to run Monero CLI with all outbound RPC traffic routed through the Anyone network, ensuring no direct daemon connections leak your real network identity.

#### 1 - Download and extract Monera CLI

Download the official Monero CLI binaries for your system from <https://www.getmonero.org/downloads/> and extract them.

```
wget https://downloads.getmonero.org/cli/linux64
tar -xvf linux64
```

This creates a directory similar to: monero-x86\_64-linux-gnu-v0.18.4.5/

#### 2 - Start Anyone client

Start the Anyone anonymizing overlay so the local SOCKS5 proxy is available, and confirm the service is running successfully.

```
sudo systemctl start anon
systemctl status anon
```

<figure><img src="https://3545050655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAA9P3lN6X0LnMGWCOpyt%2Fuploads%2FP9UtwBODkp6fGwehI3Ph%2Fimage.png?alt=media&amp;token=7c7d7f62-389a-4fff-a114-c2400e34043f" alt=""><figcaption></figcaption></figure>

#### 3 - Navigate to the Monero CLI Directory

All Monero CLI commands must be executed from the extracted binaries directory.

Launch the Monero wallet with:

* SOCKS proxy enabled
* Remote daemon

```
cd ~/monero-x86_64-linux-gnu-v0.18.4.5

./monero-wallet-cli \
  --proxy 127.0.0.1:9050 \
  --daemon-address opennode.xmr-tw.org:18089 \
  --daemon-ssl-allow-any-cert
```

What this does:

* All daemon communication is routed through Anyone
* No direct RPC connections leave your machine

#### 4 - Open or Create Wallet

When prompted:

* Enter a wallet name (existing or new)
* Enter wallet password

The wallet will load and connect to the remote daemon.

<figure><img src="https://3545050655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAA9P3lN6X0LnMGWCOpyt%2Fuploads%2FJxdpd0GZcneB2toDfPrm%2Fimage.png?alt=media&amp;token=a6d6c941-340c-4f08-9eb3-6e57e5186874" alt=""><figcaption></figcaption></figure>

#### 5 - Verify Traffic Is Routed Through Anyone

Verify Traffic Is Routed Through Anyone with a TCP dump. Keep this terminal running while you trigger wallet activity in the other terminal.

```
sudo tcpdump -i any port 9050 -nn
```

Now return to the wallet terminal and run:&#x20;

```
refresh
status
rescan_bc
```

<figure><img src="https://3545050655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAA9P3lN6X0LnMGWCOpyt%2Fuploads%2Fm19JuSfBPSa2POOx6zwJ%2Fimage.png?alt=media&amp;token=8718d355-3dce-43f7-b9cd-febba983eb77" alt="" width="563"><figcaption></figcaption></figure>

Expected Result:&#x20;

* You should only see traffic between local address and the Anon SOCKS port (9050).
* You should not see direct connections to the RPC IP.

This confirms all Monero RPC traffic is passing through Anyone.

<figure><img src="https://3545050655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAA9P3lN6X0LnMGWCOpyt%2Fuploads%2FcZJOijoST2M44W3LjEQO%2Fimage.png?alt=media&amp;token=c6c052c5-eed2-4747-8f62-eda11bd40d74" alt=""><figcaption></figcaption></figure>
