Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Support connect via Tor #62

Closed
Empact opened this issue Dec 18, 2018 · 8 comments · Fixed by #272
Closed

Support connect via Tor #62

Empact opened this issue Dec 18, 2018 · 8 comments · Fixed by #272
Labels
feature New feature or request

Comments

@Empact
Copy link

Empact commented Dec 18, 2018

In #42 you mentioned you're looking into Tor support. This is meant to track that feature.

As of right now I'm getting "Could not connect to server", when the certificate and address are in place, the hidden service address is in the "Address" field, and lnd.conf has tlsextradomain set to the hidden service domain.

@ottosuess ottosuess added the feature New feature or request label Jan 14, 2019
@ottosuess
Copy link
Member

would definitely be cool. but running tor on iOS is not that easy.

@Empact
Copy link
Author

Empact commented Jan 15, 2019

I'll look into this.

@ottosuess
Copy link
Member

ottosuess commented Jan 16, 2019

i've tried setting up Tor with this framework: https://github.com/iCepa/Tor.framework

but that didn't really work. (maybe because i haven't tried hard enough)
another problem is to make the grpc library to run over Tor.

if you can come up with an example project that is connecting to lnd using grpc over tor that would be really helpful. :)

@seth586
Copy link

seth586 commented Apr 14, 2019

Orbot on android allows the android Zeus wallet to remotely connect to LND's rest api, but yeah I'm not aware of an iOS method.

@ketominer
Copy link

gRPC over tor is not a problem as long as it has its dedicated hidden service and the .onion address is added to the TLS cert of lnd using tlsextradomain=

@ottosuess
Copy link
Member

ottosuess commented Apr 14, 2019

@ketominer The problem with gRPC is that the iCepa Tor framework is using NSURLSession api and the grpc library is using CFStream api.

@ketominer
Copy link

hmm seems it's designed for http only, probably not the good framework to use. Would need something generic TCP instead...

@Kixunil
Copy link

Kixunil commented Apr 7, 2021

I completely agree with @ketominer. It seemed appropriate to open #368

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants