https://github.com/angristan/wireguard-install
this is the one i use, it's really point and shoot
https://github.com/angristan/wireguard-install
this is the one i use, it's really point and shoot
It seems that this project cannot proxy multiple relays simultaneously. 🤔
nope, you need a reverse proxy for that, that's a HTTP layer problem, the proxy is just the network transport, tunneling tcp/ip or udp
i could probably extend my lerproxy with the ability to run a wireguard server, and even add some neat nip-98 auth and all this kinda jazz for automating the addition of new tunnels, delivery of client tunnel configs, and adding the path to the reverse proxy routing table but it would take me a few weeks
Yeah, pigeon is exactly a reverse proxy service
well, the app you want to build is something i've thought about for a long time
yes, it's a reverse proxy and tunnel server, and the clients relay will be a tunnel client and listen to that endpoint in addition
it doesn't have to be wireguard, it could just as easily be plain old TLS but the auth part will be annoying, and you have to issue the certs to the client to auth with, wireguard is just simpler
the two things you need are an accounting system to track subscriptions, payment rails to authorise updating the subscritpion records, and something that generates them their custom relay subdomain
i figured it would make sense to also throw in nip-05 auth into it as well, so that is always online on your server
i think it could be reasonably profitable and it enables a lot of decentralization, with a bunch of competing services running this thing and people using clients with outbox, it would be a lot closer to decentralized than the free relay model of the committee of dev payoors
Pigeon consists of two parts:
- pigeon_nest: A reverse proxy service deployed on a server.
- pigeon: A local client that forwards messages between the local relay and pigeon_nest.
Pigeon communicates with pigeon_nest via websocket. Upon connection, it performs a NIP-42 auth and uses the pubkey as the relay address. I've already deployed pigeon_nest on my server, you can compile pigeon and give it a try: https://github.com/CodyTseng/pigeon/tree/master/pigeon
Here's my local relay:
wss://proxy.nostr-relay.app/4de3d1195084605b44638f816d1e787ee984e1751001a659396466173c787bb9
I also see this project having potential as a paid service, similar to ngrok
i'm very glad to see someone actually doing this, i just didn't have the time
outbox model and webof trust open up so much possibilities, it's quite mindboggling how much potential there is and how it seems like so many people in nostr dev don't get it