I've followed all these steps How can I setup Bitcoin to be anonymous with Tor?
I've added onlynet
line in my conf file, but all my peers come with ipv4 connection. When I run getnetworkinfo
I get ipv4, ipv6 and onion all as reachable. Only unreachable is i2p. How do I force my node to use tor and not ipv4 and ipv6.
UPDATE
After deleting peers.dat file, ipv4 and ipv6 would become unreachable under getnetworkinfo
. However after some time, not sure if caused by reboot or smth else, it would turn back to reachable and in peerinfo
half of the peers would be through ipv4.
Conf file
datadir=/mnt/blockchain/.bitcoin/
txindex=1
server=1
daemon=1
rpcport=8332
rpcbind=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=10.0.0.0/8
rpcallowip=172.0.0.0/8
rpcallowip=192.0.0.0/8
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
zmqpubhashblock=tcp://0.0.0.0:28334
whitelist=127.0.0.1
rpcauth=bitcoin:#########hashed_out_for_security_reasons##########
proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1
onlynet=onion
onlynet=...
only controls outbound connections. Are you just seeing inbound connections through IPv4 and IPv6?getpeerinfo
in your answer?