From 8d3a49f802a25d08f8993c0a5eea3cb1d9c0c013 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Tue, 19 Jan 2021 22:44:46 +0000 Subject: [PATCH] use the node's own IP for rpcbind --- joinmarket/joinmarket_desktop_to_blitz.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/joinmarket/joinmarket_desktop_to_blitz.md b/joinmarket/joinmarket_desktop_to_blitz.md index 3b86b6a..4f9f9d1 100644 --- a/joinmarket/joinmarket_desktop_to_blitz.md +++ b/joinmarket/joinmarket_desktop_to_blitz.md @@ -29,12 +29,18 @@ This can be skipped if you connect through Tor (see [below](#tor-connection)) 1) #### Edit the bitcoin.conf: `$ sudo nano /mnt/hdd/bitcoin/bitcoin.conf` - Change the values (edit to your local subnet): - ``` - #rpcallowip=127.0.0.1 - #rpcbind=127.0.01:8332 + Add the values: + * `rpcallowip=JOINMARKET_IP` or `RANGE` + * either specify the LAN IP of the computer with JoinMarket + * or use a range like: `192.168.1.0/24` - edit to your local subnet - the first 3 numbes of the LAN IP address, the example used here is: 192.168.1.x + * `rpcbind=LAN_IP_OF_THE_NODE` + * use the local IP of the bitcoin node in the example: `192.168.1.4` + * can keep the other `rpcallowip` and `rpcbind` entires especially for the localhost: `127.0.0.1` + + Example: + ```bash rpcallowip=192.168.1.0/24 - rpcbind=0.0.0.0 + rpcbind=192.168.1.4 ``` 2) #### Restart Bitcoin Core: `$ sudo systemctl restart bitcoind`