Author

Topic: My Tor Node IP? (Read 144 times)

hero member
Activity: 1106
Merit: 521
February 22, 2020, 06:06:56 PM
#6
So how do i connect to my Tor node is really the question i am asking and the answer i want?  Wink


There are many different ways to set-up both Bitcoin and Tor depending on what you want to do exactly.

It is different if you are running on windows or linux and/or if you want to be a client or a server, for example.

I have active Tor nodes and a basic guide here (which may help you):

Bitcoin (BTC) on Tor addnodes Project
- https://bitcointalksearch.org/topic/ann-bitcoin-btc-on-tor-addnodes-project-5177001

To answer your question, if you are on linux and you used standard ephemeral .onion hidden_service generation then your .onion address is located here:

-externalip=X   You can tell bitcoin about its publicly reachable address using
                this option, and this can be a .onion address. Given the above
                configuration, you can find your .onion address in
                /var/lib/tor/bitcoin-service/hostname.
For connections
                coming from unroutable addresses (such as 127.0.0.1, where the
                Tor proxy typically runs), .onion addresses are given
                preference for your node to advertise itself with.

- https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

...

Depending on what your doing you can also locate the corresponding (ephemeral) private key here:

cd ~/.bitcoin && sudo nano onion_private_key

RSA1024: ...

(make sure you stop tor and bitcoin first and backup your keys and wallets etc.,)

Also,

sudo nano /var/lib/tor/bitcoin-service/hostname

sudo nano /var/lib/tor/bitcoin-service/private_key

-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

...

The above should provide a good idea of how to copy, backup and/or replace the keys ...

I'm working on some very detailed graphical guides, however community interest, funding opportunities and sponsorship in these matters seems low to none existent at present.

Good luck!

P.S. You might think that someone would want to sponsor fast, dedicated Tor seed nodes for Bitcoin! *shrugs*

I am currently running a Tor node on a linux Laptop and want to connect my Node on my Windows machine to it and it only.  How do i get my windows node to only connect to it.  when i looked for my Tor node Ip it was an ipv4 not a .onion
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
February 21, 2020, 06:48:21 PM
#5
So how do i connect to my Tor node is really the question i am asking and the answer i want?  Wink


There are many different ways to set-up both Bitcoin and Tor depending on what you want to do exactly.

It is different if you are running on windows or linux and/or if you want to be a client or a server, for example.

I have active Tor nodes and a basic guide here (which may help you):

Bitcoin (BTC) on Tor addnodes Project
- https://bitcointalksearch.org/topic/ann-bitcoin-btc-on-tor-addnodes-project-5177001

To answer your question, if you are on linux and you used standard ephemeral .onion hidden_service generation then your .onion address is located here:

-externalip=X   You can tell bitcoin about its publicly reachable address using
                this option, and this can be a .onion address. Given the above
                configuration, you can find your .onion address in
                /var/lib/tor/bitcoin-service/hostname.
For connections
                coming from unroutable addresses (such as 127.0.0.1, where the
                Tor proxy typically runs), .onion addresses are given
                preference for your node to advertise itself with.

- https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

...

Depending on what your doing you can also locate the corresponding (ephemeral) private key here:

cd ~/.bitcoin && sudo nano onion_private_key

RSA1024: ...

(make sure you stop tor and bitcoin first and backup your keys and wallets etc.,)

Also,

sudo nano /var/lib/tor/bitcoin-service/hostname

sudo nano /var/lib/tor/bitcoin-service/private_key

-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

...

The above should provide a good idea of how to copy, backup and/or replace the keys ...

I'm working on some very detailed graphical guides, however community interest, funding opportunities and sponsorship in these matters seems low to none existent at present.

Good luck!

P.S. You might think that someone would want to sponsor fast, dedicated Tor seed nodes for Bitcoin! *shrugs*
hero member
Activity: 1106
Merit: 521
February 21, 2020, 04:52:26 PM
#4
So how do i connect to my Tor node is really the question i am asking and the answer i want?  Wink

hero member
Activity: 1106
Merit: 521
February 16, 2020, 03:01:04 PM
#3
It should be in getnetworkinfo under localaddresses. It should also be logged in your debug.log file.

So the address in getnetworkinfo and addlocaladdress in debug is just an Ipv4 address i was expecting it to be a something like jbsdfkasjdbfkdbf.onion (example) is that just how others see it?

Is that address a tor guard node that i am using?
staff
Activity: 3458
Merit: 6793
Just writing some code
February 16, 2020, 02:01:10 PM
#2
It should be in getnetworkinfo under localaddresses. It should also be logged in your debug.log file.
hero member
Activity: 1106
Merit: 521
February 16, 2020, 01:32:03 PM
#1
Ok so i managed to work out and set up a Bitcoin node that runs over Tor but i cant seem to find my .onion address.  I have ran bitcoind and never seem to see any .onion address.  i can see that all the addresses i connect to are through different ips but if someone wanted to connect to me how do they do that?
Jump to: