Bitcoin Forum
July 14, 2024, 09:42:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My Tor Node IP?  (Read 143 times)
calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
February 16, 2020, 05: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?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3444
Merit: 6791


Just writing some code


View Profile WWW
February 16, 2020, 06:01:10 PM
 #2

It should be in getnetworkinfo under localaddresses. It should also be logged in your debug.log file.

calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
February 16, 2020, 07: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?
calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
February 21, 2020, 08: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

BitcoinFX
Legendary
*
Offline Offline

Activity: 2646
Merit: 1721


https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF


View Profile WWW
February 21, 2020, 10:48:21 PM
Last edit: February 21, 2020, 11:02:31 PM by BitcoinFX
Merited by bones261 (4), joniboini (2), DaCryptoRaccoon (2), ABCbits (1)
 #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://bitcointalk.org/index.php?topic=5177001.0

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*

"Bitcoin OG" 1JXFXUBGs2ZtEDAQMdZ3tkCKo38nT2XSEp | Bitcoin logo™ Enforcer? | Bitcoin is BTC | CSW is NOT Satoshi Nakamoto | I Mine BTC, LTC, ZEC, XMR and GAP | BTC on Tor addnodes Project | Media enquiries : Wu Ming | Enjoy The Money Machine | "You cannot compete with Open Source" and "Cryptography != Banana" | BSV and BCH are COUNTERFEIT.
calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
February 22, 2020, 10: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://bitcointalk.org/index.php?topic=5177001.0

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!