getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
6.9k stars 508 forks source link

how to set my computer on the whitelist for my own node? #1728

Open hublex opened 6 months ago

hublex commented 6 months ago

how to set my computer on the whitelist? My own node is on a raspberry pi in the same network as my computer.

whitebind

hublex commented 6 months ago

by the way I am using the app bitcoin note. here I couldn't sind any place where I could change the settings reagding whitelist.

hublex commented 6 months ago

could it be possible, that it is not working because I have entered the onion address of my bitcoin node?

Radiokot commented 5 months ago

Edit ~/umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf

I also had troubles connecting a wallet in the local network, so I've added ultimate rules allowing RPC connections from any IPs:

# [rpc]

# Accept command line and JSON-RPC commands.
server=1

# Bind to all interfaces to listen for JSON-RPC connections.
rpcbind=0.0.0.0
rpcallowip=0.0.0.0/0
kristapsk commented 5 months ago

I also had troubles connecting a wallet in the local network, so I've added ultimate rules allowing RPC connections from any IPs

For this purpose you should not use rpcallowip=0.0.0.0/0, use rpcallowip=192.168.0.0/16 or rpcallowip=10.0.0.0/8, depending on your LAN settings.

Although likely you are under NAT, so external peers cannot connect directly anyway, unless you add NAT rule (port forwarding) for tcp/8332 RPC port from your external IP to LAN IP of the node in the router. But you might in future connect the same node to different network and forget about this, so better is to use more restrictive config.

kristapsk commented 5 months ago

Of course, if you want to access node RPC from a single computer in LAN with static IP, then just add rpcallowip for that single IP, not whole network.

Radiokot commented 5 months ago

Many thanks, @kristapsk 🤝

hublex commented 5 months ago

Hi Guys, Art for the nood questions? Where I can change the settings, please? Cheers

On Wed, 10 Jan 2024, 08:41 Oleg Koretsky, @.***> wrote:

Many thanks, @kristapsk https://github.com/kristapsk 🤝

— Reply to this email directly, view it on GitHub https://github.com/getumbrel/umbrel/issues/1728#issuecomment-1884335369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASBBOLB3BCROOH5L2NIOD2DYNZAY5AVCNFSM6AAAAABBIEXLZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUGMZTKMZWHE . You are receiving this because you authored the thread.Message ID: @.***>

Radiokot commented 5 months ago

@hublex Connect to your node through SSH and do the described changes.