# Add a local node to bitcoin?

**URL:** <https://community.umbrel.com/t/add-a-local-node-to-bitcoin/22540>\
**Category:** General Discussion\
**Created:** [May 3, 2025, 4:59pm UTC](https://community.umbrel.com/t/add-a-local-node-to-bitcoin/22540 "2025-05-03T16:59:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andelorean](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@andelorean](https://community.umbrel.com/u/andelorean)\
**Post date:** [May 3, 2025, 4:59pm UTC](https://community.umbrel.com/t/add-a-local-node-to-bitcoin/22540/1 "2025-05-03T16:59:41Z")

</div>

I have 5 Umbrel VMs running and I’d like to connect them all together as peers. Umbrel Team, can you please add this to the Bitcoin/Bitcoin-Knots “Advanced Settings” in the UI. I’ve tried modifying the ./umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf file without any success. Anybody have any ideas how to enable RPC and add local nodes?

```auto
# Load additional configuration file, relative to the data directory.

includeconf=umbrel-bitcoin.conf

server=1

rpcallow=192.168.2.0/24

rpcauth=bitcoin:77ef21bd026a1cc44f...

rpcwhitelist=bitcoin,umbrel

rpcuser=bitcoin

rpcpass=xxxx

connect=192.168.2.201

connect=192.168.2.203

connect=192.168.2.204

connect=192.168.2.206

```

---

<div class="post-metadata">

**Author:** ![andelorean](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@andelorean](https://community.umbrel.com/u/andelorean)\
**Post date:** [May 3, 2025, 5:45pm UTC](https://community.umbrel.com/t/add-a-local-node-to-bitcoin/22540/2 "2025-05-03T17:45:10Z")

</div>

This has been a long time coming. SSH into your umbrel and run this command.

sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli getpeerinfo  
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli addnode [IP] onetry  
e.g.  
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli addnode 192.168.1.209 onetry  
sudo docker exec -it `sudo docker ps |grep bitcoind |cut -d " " -f 1` bitcoin-cli getpeerinfo |grep "addr"

You should see the address listed there. Also look at your bitcoin debug.log  
cat ~/umbrel/app-data/bitcoin/data/bitcoin/debug.log  
cat ~/umbrel/app-data/bitcoin-knots/data/bitcoin/debug.log

I don’t believe this last through reboots or restarts, so hopefully the Umbrel team will add this ability to the Advanced Settings in the UI.

---

<div class="post-metadata">

**Author:** ![xrulescu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/xrulescu/32/3394_2.png) [@xrulescu](https://community.umbrel.com/u/xrulescu)\
**Post date:** [May 15, 2025, 4:10pm UTC](https://community.umbrel.com/t/add-a-local-node-to-bitcoin/22540/3 "2025-05-15T16:10:57Z")

</div>

Try to add the info you need in the exports.sh in the BIN\_ARGS section, it may work.
