Author

Topic: [SOLVED] Setup .Onion Tor Electrum Server (Working Link inside) (Read 2809 times)

newbie
Activity: 56
Merit: 0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

NOT CONNECTING ISSUE:

Please note because i changed the main DOMAIN i also changed the SSL cert to match. People trying to connect to the .onion and .noip.me might not be able to connect because electrum CACHES certificates of servers and mine has changed! You will need to remove the cached cert for both .noip.me and .onion. You can find these in

On windows;

C:\Users\\AppData\Roaming\Electrum\certs



Linux



I am unsure, if you know please let me know so i can update it!

Once this is done you should be able to connect again!



On FRIDAY the 5th of Febuary 2016 i will be moving FROM a noip address.

The new address is electrum.dancrypto.com this is usable now! (and should also show on the list of servers)

However as from friday it will be that address that shows up in the electrum server list rather than electrumserv.noip.me.

.onion remains unaffected!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWqz8sAAoJEO6fRRNVgF38Jt4P/RFhh/uaBTlc0ySSvIgarvFJ
Fuq3nD441Z24bWH8HHoYpMMsLV3A44gKlGx5oFkVVAPmDAC7k5gGlrvBLmjgGI6V
O8H9k7oxxDgfaVaVs01hc71fZmUXPV4lEdKuLbclykvDPg6gH+U8jW4luJ4f1TXr
+3pvIDng1Fr8PuVN8NXE90/Kv7xkEl4MFw1hkwsgnkrl/ixxK/P1N3Sf/A+zFbGS
7spPYUeM9iXMhaHuYgrq8miyvgJVWTyc8cW921lo5R9hKkYjzoxErRDOuz9CwB2G
EVppU52X9SFuhK8+gMI8e98Kl8pwDjm2YBdisF0NM7Zquatw+MsjqpMyJLwZhc/1
DAFVglqnoQ9zt2EPFSzeUPuy4AK3g/w6VDGCYf8KY49TJWcK1nfe/+C7y+KARhIS
8K1yBW136awFCc4bqUhn1djWLFYN9dMt+TlZIbAOOcxkvmzixNHR/Od9GJHdFMsQ
g7I3H5SChVNGJvjHehj/lHno2O1gpKFfUV1/etb0UY+iRDeEIMnWLegSOl2GLkAf
gkcN2WF2Fid1Q36vzQMkPfJ5v2a3q53rlqG8lAcfFqMb4uIlOh22fuMGI93wHGf9
Ysyt9tvxwvJCXHLnQuUcdy6J6x6VOsdBbl1i7IeMqn2yf7r2uRadW0q/7Ks4OSKf
Eu13wpF/fuVmeFLNBNav
=eaj7
-----END PGP SIGNATURE-----

Code:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

NOT CONNECTING ISSUE:

Please note because i changed the main DOMAIN i also changed the SSL cert to match. People trying to connect to the .onion and .noip.me might not be able to connect because electrum CACHES certificates of servers and mine has changed! You will need to remove the cached cert for both .noip.me and .onion. You can find these in

On windows;

C:\Users\\AppData\Roaming\Electrum\certs



Linux



I am unsure, if you know please let me know so i can update it!

Once this is done you should be able to connect again!



On FRIDAY the 5th of Febuary 2016 i will be moving FROM a noip address.

The new address is electrum.dancrypto.com this is usable now! (and should also show on the list of servers)

However as from friday it will be that address that shows up in the electrum server list rather than electrumserv.noip.me.

.onion remains unaffected!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWqz8sAAoJEO6fRRNVgF38Jt4P/RFhh/uaBTlc0ySSvIgarvFJ
Fuq3nD441Z24bWH8HHoYpMMsLV3A44gKlGx5oFkVVAPmDAC7k5gGlrvBLmjgGI6V
O8H9k7oxxDgfaVaVs01hc71fZmUXPV4lEdKuLbclykvDPg6gH+U8jW4luJ4f1TXr
+3pvIDng1Fr8PuVN8NXE90/Kv7xkEl4MFw1hkwsgnkrl/ixxK/P1N3Sf/A+zFbGS
7spPYUeM9iXMhaHuYgrq8miyvgJVWTyc8cW921lo5R9hKkYjzoxErRDOuz9CwB2G
EVppU52X9SFuhK8+gMI8e98Kl8pwDjm2YBdisF0NM7Zquatw+MsjqpMyJLwZhc/1
DAFVglqnoQ9zt2EPFSzeUPuy4AK3g/w6VDGCYf8KY49TJWcK1nfe/+C7y+KARhIS
8K1yBW136awFCc4bqUhn1djWLFYN9dMt+TlZIbAOOcxkvmzixNHR/Od9GJHdFMsQ
g7I3H5SChVNGJvjHehj/lHno2O1gpKFfUV1/etb0UY+iRDeEIMnWLegSOl2GLkAf
gkcN2WF2Fid1Q36vzQMkPfJ5v2a3q53rlqG8lAcfFqMb4uIlOh22fuMGI93wHGf9
Ysyt9tvxwvJCXHLnQuUcdy6J6x6VOsdBbl1i7IeMqn2yf7r2uRadW0q/7Ks4OSKf
Eu13wpF/fuVmeFLNBNav
=eaj7
-----END PGP SIGNATURE-----
newbie
Activity: 56
Merit: 0
Code:
[code]Not sure what kind of tutuorial you want? If you already know how to make a hidden service on TOR then just point the hidden service at 50001 / 50002 like this in the torrc file.

[code]HiddenServiceDir /var/lib/tor/electrum/
HiddenServicePort 80 127.0.0.1:80
HiddenServicePort 50001 127.0.0.1:50001
HiddenServicePort 50002 127.0.0.1:50002

Remove 80 if you dont want a websever too, i added one so people could contact me / donate.

If you dont know how to do hidden services you would be better reading about it on tor's website / documents Smiley

https://www.torproject.org/docs/tor-hidden-service.html.en

Now getting your client to join IRC as both normal and a _tor name is more tricky and involves edditing files.

If you look at this pull requet on github
https://github.com/spesmilo/electrum-server/pull/133/files
You need to add them lines into the files at the right points.

in electrum.conf.sample just change your /ext/electrum.conf file and where hidden_service = your.onion

I had to re run the

sudo ./configure
sudo python ./setup.py install

commands on mine for it to notice the updated changes in the files, then when i started the server it eventrually joined IRC. I got some errors in my logs, Like this;

Code:
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/electrumserver/ircthread.py", line 141, in run
    client.process_forever()
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 278, in process_forever
    self.process_once(timeout)
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 259, in process_once
    self.process_data(i)
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 216, in process_data
    c.process_data()
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 573, in process_data
    self.disconnect("Connection reset by peer")
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 779, in disconnect
    self._handle_event(Event("disconnect", self.server, "", [message]))
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 673, in _handle_event
    self.reactor._handle_event(self, event)
  File "build/bdist.linux-x86_64/egg/irc/client.py", line 398, in _handle_event
    result = handler.callback(connection, event)
  File "build/bdist.linux-x86_64/egg/electrumserver/ircthread.py", line 90, in on_disconnect
    raise BaseException("disconnected")
BaseException: disconnected

However it did eventually connect so just wait for a couple of mins and then see if you join IRC.[/code][/code]
hero member
Activity: 619
Merit: 500
I'm interested in doing the same.
Could you share your electrum.conf file?
newbie
Activity: 56
Merit: 0
Solved now Smiley Updated the .onion address in the first post to vanity ones now Smiley

these .onions are now live;

electrumaay7a3lc.onion:50001 
electrumaay7a3lc.onion:50002 (SSL)
newbie
Activity: 56
Merit: 0
Hmm did you make sure to use the SOCKS proxy to your tor? What about loading the webpage http://i3nmpobzknywcpqc.onion/
sr. member
Activity: 266
Merit: 250
first link doesnt work at all, didnt try the seccond
newbie
Activity: 56
Merit: 0
Managed to get my onion address working now for a tor electrum server at

(TCP) electrums3lojbuj.onion : 50001
(SSL) electrums3lojbuj.onion : 50002

Jump to: