lnbits / lnbits

LNbits, free and open-source Lightning wallet and accounts system.
https://lnbits.com
MIT License
1.03k stars 335 forks source link

[Feature request] Allow all web requests to use a socks proxy for Tor #1806

Open callebtc opened 1 year ago

callebtc commented 1 year ago

All wallets and other web requests (including security features like notifications) should be able to use Tor.

dni commented 1 year ago

https://github.com/lnbits/lnbits/pull/678

crc32 commented 1 year ago

I've been trying to make this work with socat and other proxy methods, in order to run LNBits on a VPS and connect it to a Start9 node, but everything I do fails (with ERROR | The backend for LndRestWallet isn't working properly: 'Unable to connect to http://128.0.0.1:9051'). I was able to previously make it all work with Umbrel and Tailscale, but that's not an option with Start9. It seems like native TOR (or at least a tor-proxy option) would be an elegant fix.