My Raspiblitz Bitcoin and Lightning node is TOR only. Is there any good way to expose the BTC Payserver running on my Raspiblitz node to clearnet?

Reply to this note

Please Login to reply.

Discussion

Tunnelsats ftw https://tunnelsats.com

Tunnelsats is forwards the lightning port exclusively.

I don't need to expose the node to clearnet, just want to expose the BTCPayServer to clearnet. Thanks for the link anyways, TIL about tunnelsats.

Yep. You’ll have to run a VPS. Many use digital ocean, I use lunanode (accepts btc). Mine costs $3/mo.

Then you’ll need to connect the vps to your node with a vpn of some kind, I use tailscale, others use openvpn or wireguard.

Then setup a domain, pointed to your vps, and use nginx (or another service) to proxy traffic to your BTCPay.

There are a few guides out there, happy to find one for you when I get a few more min later on.

Hmm I might try to do it this way, ty!

For the nginx part, I found these scripts from #[3] to be quite useful.

https://openoms.github.io/bitcoin-tutorials/nginx/

I also use the same process for a clearnet mempool and lnbits instance.

yeah this is what I do.

#[2] LMK if you need a hand

Thanks, I’ll poke you if I get stuck🤙

I’m going to be setting this up soon and was thinking about sharing a write up. Don’t have anything now but will share when it’s ready if interested.

Have you tried this?

I've seen screenshots of this but it isn't an option on my Raspiblitz node

This guide got me setup. Written for umbrel but the process is applicable to any node package.

https://jorijn.com/installing-nginx-reverse-proxy-with-ssl-certificate-umbrel-btcpayserver/

Tailscale/Wireguard works good 👍

If you're only looking to get a clearnet lnurl for your tor node and don't wish to open it up to the clearnet, you can check out the community lightning address servers at lightningaddress.com most of the satdress servers support onion addresses (for lnd you'll be giving out an invoice/read-only macaroon)🤓

The way it works is that people would request invoices from a clearnet url which the lightning address server fetches the invoice over tor

I connect to myNode via Tor only also. But some users on the TG group have tried clearnet with reportedly poor results.

If availability and speed are important I would also recommend a VPS solution

BTCPay on VPS and tunnel into node machine for node connection?

If you can get that to work but it would be easier if BTCpay server and your lightning node were on a vps. It depends on how much it is worth to you. If you are a store where you will be receiving a descent amount of income and you must be able to take payments, a service like Voltage.cloud is reliable and really easy to setup. If that not so important I would go with the #[3] option with is mush cheaper

https://voltage.cloud/

That works too (that’s actually what I do for BTCPay), it just makes your vps more expensive.

Yes but if the income covers the cost, it is worth it. It takes the hassle out of it

Check out Tailscale

Thanks, will check it out

I've not used it in over a year but I used to use https://github.com/rootzoll/raspiblitz#ip2tor-paid

This isn’t even an option on my Raspiblitz node, I don’t have the “subscribe” menu item

I think they changed where it's located in 1.7 if I recall correctly and probably never updated that part of readme. I just shut my last one down a few weeks ago or I'd check to see where it is on 1.8.

There are ways to expose your LN node:

Via a (3rd party) LN Address bridge: https://lnaddress.me

Or self-hosted on a VPS: https://github.com/bumi/lnme

But if you have a VPS, you can also do a reverse proxy and have it expose any tor site to clearnet: https://tor.stackexchange.com/a/13884

Or even better, a very nice guide: #[0]

This seems like a good solution

Seems like lnme is only for LND, I run Core Lightning.

Will keep that Stackexchange post in mind🤙

I am assuming you mean anonymously expose your BTC Payserver.

There are VPN providers that accept anonymous Bitcoin payments and allow port forwarding. That might be a good option. It's faster than going over TOR but the VPN provider can see your IP. You could do VPN over TOR, but the performance would be pure garbage.

tbh, I just want to have a LN address that points to my own node. I want to make my own LNURL server soon but until that happens I want to use BTCPayServer to get an address that points to my own node

cloudflare argo tunnel maybe?

Thanks but I don't want to rely on Cloudflare tbh. Trying to set up a more self sovereign stack without any 3rd parties.