<p>You need to put the following in your conf file and have Bitcoin Core installed on your Ubuntu machine too.</p>
<pre><code>bitcoin-rpcuser=foo
bitcoin-rpcpassword=foo
bitcoin-rpcurl=http://127.0.0.1:18332
</code></pre>
<p>Core Lightning will use the bitcoin-cli to make a connection with your bitcoind on the other machine!</p>

CC BY-SA 4.0
2022-05-04T08:15:51.503Z
2022-05-09T10:45:53.893Z
2022-05-09T10:45:53.893Z
vincenzopalazzo
<p>I currently run a lightning node on umbrel on a raspberry pi. I want to experiment with c-lightning and want to run a new c-lightning node on my ubuntu laptop which utilizes the blockchain data from my existing umbrel node.</p>
<p>Which files do I need to configure for that and in doing that do I reduce my umbrel node's security in any way?</p>
<p>Thanks in advance.</p>

<bitcoind><lightning-network><json-rpc><bitcoin-cli><core-lightning>
C-lightning configuration to use bitcoin blockchain data from another machine
t480625
# C-lightning configuration to use bitcoin blockchain data from another machine

(Asked by: username_0 on 2022-03-09)

I currently run a lightning node on umbrel on a raspberry pi. I want to experiment with c-lightning and want to run a new c-lightning node on my ubuntu laptop which utilizes the blockchain data from my existing umbrel node.

Which files do I need to configure for that and in doing that do I reduce my umbrel node's security in any way?

Thanks in advance.

**Tags:** bitcoind, lightning-network, json-rpc, bitcoin-cli, core-lightning


---

## 1 answers

### Answer by username_1 on 2022-05-04. Score: 1

You need to put the following in your conf file and have Bitcoin Core installed on your Ubuntu machine too.

```
bitcoin-rpcuser=foo
bitcoin-rpcpassword=foo
bitcoin-rpcurl=http://127.0.0.1:18332

```

Core Lightning will use the bitcoin-cli to make a connection with your bitcoind on the other machine!


---

