<p>You can use the <code>rpcallowip</code> feature in your bitcoin.conf to whitelist IP addresses.</p>
<p><a href="https://bitcoin.org/en/release/v0.10.0#rpc-access-control-changes" rel="nofollow noreferrer">https://bitcoin.org/en/release/v0.10.0#rpc-access-control-changes</a></p>

CC BY-SA 4.0
2021-05-07T03:59:50.617Z
Note that by default, RPC access is only open to localhost.
Pieter Wuille
CC BY-SA 4.0
2021-05-07T03:42:40.457Z
2021-05-07T03:42:40.457Z
m1xolyd1an
<p>Certain IP is brute forcing my node for rpc access. I tried ufw to deny that IP but did not work.
Looked for any black list conf entry or param to <code>bitcoind</code> and found none.</p>
<p>Any suggestions?</p>

<bitcoind>
How to block certain IP address from bitcoind or using ufw
thevikas
# How to block certain IP address from bitcoind or using ufw

(Asked by: username_0 on 2021-05-07)

Certain IP is brute forcing my node for rpc access. I tried ufw to deny that IP but did not work.
Looked for any black list conf entry or param to `bitcoind` and found none.

Any suggestions?

**Tags:** bitcoind


---

## 1 answers

### Answer by username_1 on 2021-05-07. Score: 2

You can use the `rpcallowip` feature in your bitcoin.conf to whitelist IP addresses.

<https://bitcoin.org/en/release/v0.10.0#rpc-access-control-changes>

> **Comments:**
> **username_2**: Note that by default, RPC access is only open to localhost.  

---

