This guide explains Bitcoin Core rpcallowip in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core rpcallowip specifies source addresses or networks allowed to make JSON-RPC connections. It is an access scope, not authentication, encryption or proof of application identity.
- Why it matters: rpcallowip narrows which network sources may attempt RPC; it does not authenticate them. Combine it with narrow binding, credentials, firewalls and verified proxy behaviour.
- Current position: Bitcoin Core rpcallowip specifies source addresses or networks allowed to make JSON-RPC connections.
Bitcoin Core rpcallowip in simple English
Bitcoin Core rpcallowip: rpcallowip does not replace rpcauth, cookie authentication or other supported credentials. Access and authentication are separate gates. Test both: a permitted source with bad credentials must fail, and a valid credential from a non-permitted source must also fail.
Simple example
A node operator is checking Bitcoin Core rpcallowip. Core 0.12 accepted individual IPs, netmasks and CIDR forms and allowed repeated entries. If Core sees only the proxy, an allow-list grants the proxy boundary rather than the original client.
Key terms in plain English
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Node:
- A computer running Bitcoin software that checks data and communicates with other peers.
Allow-list semantics
Core 0.12 accepted individual IPs, netmasks and CIDR forms and allowed repeated entries. The match applies to the peer address visible to Core. It does not name a person or workload, and broad private ranges may include many unrelated tenants. Keep entries minimal and explain each consumer.
Authentication remains required
rpcallowip does not replace rpcauth, cookie authentication or other supported credentials. Access and authentication are separate gates. Test both: a permitted source with bad credentials must fail, and a valid credential from a non-permitted source must also fail.
Binding and reachability
rpcbind selects listening interfaces while rpcallowip controls acceptable sources. Firewalls and routing determine who can reach those sockets. A safe allow-list cannot compensate for an unintended public bind, and a safe bind can be undermined by port forwarding or a sidecar proxy.
Proxies and source identity
NAT, SSH tunnels, service meshes and reverse proxies can make many callers appear under one address. If Core sees only the proxy, an allow-list grants the proxy boundary rather than the original client. Authenticate the tunnel, restrict its listeners and test the source Core actually records.
IPv4 and IPv6
An IPv4-only rule does not constrain an IPv6 listener. Dual-stack hosts, mapped addresses and container bridges complicate assumptions. Enumerate sockets and test each address family from permitted and denied networks. Do not infer IPv6 safety because the administrator usually connects over IPv4.
Mining and wallet privileges
RPC can expose wallet, transaction, chain and control methods depending on version and loaded components. A pool template client may need a small operational path but historically received broad RPC capability. Isolate template nodes, use dedicated credentials and avoid placing customer-facing services in the same trust range.
How specialists test it
Operators test the command on a non-production node first. They check a normal reply, an invalid request, a timeout and a restart. This shows what the response means and prevents one local result from being mistaken for a network-wide outcome.
Frequently asked questions
What is the main point of Bitcoin Core rpcallowip?
Bitcoin Core rpcallowip: rpcallowip does not replace rpcauth, cookie authentication or other supported credentials. Access and authentication are separate gates.
For Bitcoin Core rpcallowip, what should a beginner know about allow-list semantics?
Core 0.12 accepted individual IPs, netmasks and CIDR forms and allowed repeated entries.
For Bitcoin Core rpcallowip, what should a beginner know about authentication remains required?
rpcallowip does not replace rpcauth, cookie authentication or other supported credentials. Access and authentication are separate gates.
For Bitcoin Core rpcallowip, what should a beginner know about binding and reachability?
rpcbind selects listening interfaces while rpcallowip controls acceptable sources. Firewalls and routing determine who can reach those sockets.
Conclusion
rpcallowip narrows which network sources may attempt RPC; it does not authenticate them. Combine it with narrow binding, credentials, firewalls and verified proxy behaviour.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.
Join the ASIC Mining Discussion
Members can read and join the discussion
Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.
Membership helps us protect the discussion from spam and keep answers useful.