<p>You want to use <code>192.168.0.0/24</code>. That's CIDR notation for 192.168.0.*. </p>

CC BY-SA 3.0
2014-11-01T04:44:40.333Z
2014-11-01T04:44:40.333Z
Seventoes
<p>I recently downloaded bitcoin from github and changed the settings to allow for rpc.</p>

<p>This is how I have it:</p>

<pre><code>rpcallowip=192.168.0.*
</code></pre>

<p>This does not work anymore. </p>

<p>However when running bitcoind, it complains that: </p>

<pre><code>Error: Invalid -rpcallowip subnet specification: 192.168.0.*.
Valid are a single IP, a network/netmask or a network CIDR.
</code></pre>

<p>I'm not that familiar with networking.</p>

<p>Can someone tell me what a valid network/netmask or network/CIDR is for all addresses that could be in 192.168.0.*</p>

<bitcoind><json-rpc><bitcoin.conf>
rpcallowip=192.168.0.* ?? invalid configuration
Prem Govind
# rpcallowip=192.168.0.* ?? invalid configuration

(Asked by: username_0 on 2014-11-01)

I recently downloaded bitcoin from github and changed the settings to allow for rpc.

This is how I have it:

```
rpcallowip=192.168.0.*

```

This does not work anymore.

However when running bitcoind, it complains that:

```
Error: Invalid -rpcallowip subnet specification: 192.168.0.*.
Valid are a single IP, a network/netmask or a network CIDR.

```

I'm not that familiar with networking.

Can someone tell me what a valid network/netmask or network/CIDR is for all addresses that could be in 192.168.0.\*

**Tags:** bitcoind, json-rpc, bitcoin.conf


---

## 1 answers

### Answer by username_1 on 2014-11-01. Score: 11 | Accepted answer

You want to use `192.168.0.0/24`. That's CIDR notation for 192.168.0.\*.


---

