Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRPC Onion service connection #74

Open
seth586 opened this issue Feb 18, 2019 · 1 comment
Open

GRPC Onion service connection #74

seth586 opened this issue Feb 18, 2019 · 1 comment

Comments

@seth586
Copy link

seth586 commented Feb 18, 2019

Shango authenticates and works on same subnet (home LAN)

I have a tor onion service configured for a remote connection to my lnd GRPC interface:
/usr/local/etc/tor/torrc config:

HiddenServiceDir /var/db/tor/lnd_rpc/
HiddenServiceVersion 2
HiddenServiceAuthorizeClient stealth sethnexus6
HiddenServicePort 10009 127.0.0.1:10009

lnd.conf

[Application Options]
nat=true
alias=xxx
listen=0.0.0.0:9735
restlisten=0.0.0.0:8082
tlsextraip=0.0.0.0
rpclisten=0.0.0.0:10009

Result of cat /var/db/tor/lnd_rpc/hostname reads out onion address and client cookie, which are entered into android app orbot.

Shango settings / connect LND node:

Home
http://123456789.onion:10009
(Server Macaroon Hex)

Expected result would be a connection. Is this supported? Am I doing it correct? This would be a lot more secure than opening port 10009, plus it would fix dynamic IP issues, NAT issues, dos attacks, etc.

Just to make sure I am configured correctly, using the same onion service mapped to a webserver port in the same localhost, it worked using orfox android onion browser.

@neogeno
Copy link
Owner

neogeno commented May 19, 2019

This will be addressed in the release for June 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants