Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: RedGolpe on January 18, 2017, 12:52:27 PM



Title: Inbound connections when there should be none
Post by: RedGolpe on January 18, 2017, 12:52:27 PM
I have my Bitcoin Core client up and running almost constantly but from time to time, when I need more resources, I disable inbound connections by removing the relevant port mapping on my router. It may or may not be relevant that my router does not support UPnP but I have it enabled on the client.

I check if I'm actually reachable with bitnodes (http://bitnodes.21.co), and it says I'm visible or not depending on the port mapping settings so everything seems to work as expected.

However, even when I am "invisible" to the network, I receive inbound connections. I generally end up with one or two of them, always with a IPv6 address: how is that possible?


Title: Re: Inbound connections when there should be none
Post by: shorena on January 18, 2017, 01:03:25 PM
I have my Bitcoin Core client up and running almost constantly but from time to time, when I need more resources, I disable inbound connections by removing the relevant port mapping on my router. It may or may not be relevant that my router does not support UPnP but I have it enabled on the client.

I check if I'm actually reachable with bitnodes (http://bitnodes.21.co), and it says I'm visible or not depending on the port mapping settings so everything seems to work as expected.

However, even when I am "invisible" to the network, I receive inbound connections. I generally end up with one or two of them, always with a IPv6 address: how is that possible?

Sounds like your router does not respect the settings for ipv6. Is there another set of rule for those connections maybe?


Title: Re: Inbound connections when there should be none
Post by: Foxpup on January 18, 2017, 01:06:50 PM
IPv6 typically doesn't use NAT, so other nodes can connect to you directly without port mapping. Does Bitnodes say you're reachable when you enter your IPv6 address?

In any case, you can disable inbound connections on all networks by starting Bitcoin Core with the listen parameter set to 0 (either on the command line or in bitcoin.conf). You can also limit the total number of connections with the maxconnections parameter.


Title: Re: Inbound connections when there should be none
Post by: shorena on January 18, 2017, 01:08:21 PM
IPv6 typically doesn't use NAT, so other nodes can connect to you directly without port mapping.

Yeah, would be a firewall setting on the router explicitly blocking the port.


Title: Re: Inbound connections when there should be none
Post by: RedGolpe on January 18, 2017, 01:10:24 PM
Thank you for all your answers, it surely must be an IPv6 setting, I will try with my IPv6 address on Bitnodes.

Edit: confirmed.