Start9's implementation of nostr:npub155m2k8ml8sqn8w4dhh689vdv0t2twa8dgvkpnzfggxf4wfughjsq2cdcvg can only be accessed via the local LAN or TOR. But, let's say you want your BTCPay server to be accessible by the outside world for payments or your online store.

Have no fear, socator is here!

The socator Docker container uses socat to listen on a given TCP port and redirects incoming traffic to a TOR hidden service. All you need in a simple nginx reverse proxy to make it all work. Boom.

Reply to this note

Please Login to reply.

Discussion

Oh yes. Prepare for incoming. The socks are TORn and sno cats are tipsy. I totally feel ya. One day, I will decode tf outta this stuff!

well you see... what you gotta do is head up to your bedroom and open your sock drawer. find your largest pair of socks. it's going to need to hold an a special kind of onion. once you have the sock picked out, head down to your kitchen and find a white onion, the largest one you got. it has to be large enough to hide things behind it. take that onion and shove it inside that sock. that's it. mission accomplished.

How’s the performance?

it's not horrible. i tested a few transactions and it works fine. transactions aren't instant, but still go through in a few seconds.

Thanks for sharing

Use a cloudflare tunnel? 🤔 would that work?

cloudflare to hide my external ip? absolutely and always 😉

nice !

That went over my head 🤪😎🙄

You can also set up wireguard, and configure your lightning node to use tor on the remote wireguard server.