Repo for my Bitcoin scripts
- Configure bitcoind to allow incoming RPC connections
sudo vim /mnt/hdd/bitcoin/bitcoin.confModify these two lines
rpcallowip=192.168.1.0/24
main.rpcbind=0.0.0.0:8332Configure RPC credential in .env file
- Allow RPC in UFW from local network
sudo ufw allow from 192.168.1.0/24 to any port 8332 proto tcp comment 'Allow Bitcoin RPC from local network' && sudo ufw reload