Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: calkob on December 18, 2020, 03:09:55 PM



Title: Using Bitcoin Core over Tor still getting a incoming connection at real ip
Post by: calkob on December 18, 2020, 03:09:55 PM
Been running a Node over Tor for weeks now (outgoing only) decided to add listen=1 to the .conf  so now i am getting incoming but some of the 1st connections were to my actual ip address.  all of the new connections recently are incoming to 127.0.0.1:9050 but there is still one currently connected to my actual ip.   this seems strange to me considering my .conf can anyone explain why this would be happening?


txindex=1
server=1
blockfilterindex=1
listen=1
proxy=127.0.0.1:9050
onlynet=onion
dnsseed=0
dns=0


Title: Re: Using Bitcoin Core over Tor still getting a incoming connection at real ip
Post by: calkob on December 19, 2020, 09:11:56 AM
Like if i am onlynet=onion how can i have an incoming connection to my real ip?


Title: Re: Using Bitcoin Core over Tor still getting a incoming connection at real ip
Post by: ranochigo on December 19, 2020, 09:40:39 AM
Using onlynet=onion flags ensures that the connections made to other nodes are onion nodes as well.

My understanding is that the flag cannot prevent non-onion nodes to be connecting to your clearnet address as the client will listen through both clearnet and Tor. Try specifying the address for the node to be listening to?
Code:
bind=127.0.0.1


Title: Re: Using Bitcoin Core over Tor still getting a incoming connection at real ip
Post by: calkob on December 20, 2020, 09:51:04 AM
Thanks for the replies.  will try adding bind=127.0.0.1 and see, i know it can take awhile to be found. 

Cheers