<blockquote>
  <p>Can exist bitcoin network with all nodes behind NAT?</p>
</blockquote>

<p>Sure. Both the Bitcoin client and many SOHO routers support UPnP. Failing that, Bitcoin users could set up port forwarding.</p>

<blockquote>
  <p>Or bitcoin client will try to make UDP/TCP hole punching connection?</p>
</blockquote>

<p>No, it won't do that.</p>

<blockquote>
  <p>If its mandatory for some miner to have public IP address?</p>
</blockquote>

<p>Generally, mining pools will have a public IP address. There's no reason why you <em>couldn't</em> set up a mining pool server behind NAT and use port forwarding to make it public, but it would be a very strange way to set things up.</p>

CC BY-SA 3.0
2016-03-16T06:05:15.337Z
If I disable UPnP on my NAT router and start bitcoint client what happened?
sytolk
CC BY-SA 3.0
2016-03-16T06:29:21.980Z
Outbound connection to nodes with public IP is possible but inbound connections with router UPnP disabled?
sytolk
CC BY-SA 3.0
2016-03-16T06:37:26.320Z
This means that I will not receive money notification if I have disabled UPnP in my router and bitcoint client not know other nodes with public IP
sytolk
CC BY-SA 3.0
2016-03-15T23:46:04.847Z
2016-03-15T23:46:04.847Z
Nick ODell
<p>If I run bitcoin client for the first time its try to make TCP connection with saved list of IPs and port 8333 -other nodes. If this nodes are behind NAT with IP 192.168.0.XX and public IP from the NAT router with changed from NAT unknown port its appears that bitcoin network is down? Or bitcoin client will try to make UDP/TCP hole punching connection? If its mandatory for some miner to have public IP address?</p>

<network><connection><tcp>
Can exist bitcoin network with all nodes behind NAT?
sytolk
# Can exist bitcoin network with all nodes behind NAT?

(Asked by: username_0 on 2016-03-15)

If I run bitcoin client for the first time its try to make TCP connection with saved list of IPs and port 8333 -other nodes. If this nodes are behind NAT with IP 192.168.0.XX and public IP from the NAT router with changed from NAT unknown port its appears that bitcoin network is down? Or bitcoin client will try to make UDP/TCP hole punching connection? If its mandatory for some miner to have public IP address?

**Tags:** network, connection, tcp


---

## 1 answers

### Answer by username_1 on 2016-03-15. Score: 1 | Accepted answer

> Can exist bitcoin network with all nodes behind NAT?

Sure. Both the Bitcoin client and many SOHO routers support UPnP. Failing that, Bitcoin users could set up port forwarding.

> Or bitcoin client will try to make UDP/TCP hole punching connection?

No, it won't do that.

> If its mandatory for some miner to have public IP address?

Generally, mining pools will have a public IP address. There's no reason why you *couldn't* set up a mining pool server behind NAT and use port forwarding to make it public, but it would be a very strange way to set things up.

> **Comments:**
> **username_0**: If I disable UPnP on my NAT router and start bitcoint client what happened?  
> **username_0**: Outbound connection to nodes with public IP is possible but inbound connections with router UPnP disabled?  
> **username_0**: This means that I will not receive money notification if I have disabled UPnP in my router and bitcoint client not know other nodes with public IP  

---

