Good morning, #nostriches!

I have a question that, while short, is definitely way more complicated than it might seem:

Can I run my own relay on a proxmox server? If so... How?

I'm... Frightfully ignorant of how to do nostr stuff at a relay level and would like to learn. This is rather intimidating since I make everything much more complicated than it could be if I just paid for a VPS and installed some relay config.

Has anyone done this? Anyone want to help me do this? (I expect the answer to be "heck no!" 🀣🀣🀣)

#gm #goodmorning #plebchain #grownostr #proxmox #relay #diy #diy #runyourownrelay #relay #notyourhardwarenotyourdata

Reply to this note

Please Login to reply.

Discussion

Short answer is yes.

Thank you. πŸ˜πŸ€£β€οΈβ€πŸ”₯πŸ’šπŸŽ‰

Do you have a public IP address?

The sassy answer is yes since you kinda need one to connect to anything else on the internet, as it is currently set up.

I do not have a static IP address. I never understood why this is such a big deal, though. (This is my ignorance showing.)

Static would be better, but dynamic would do. I'm asking about it being public because if you are behind NAT it will not be possible to access the relay from the outside.

I am not using a Proxmox server, but a mini PC with the Ubuntu server OS. The only issue I ran into is my ISP port forwarding restrictions not allowing me to incorporate Nginx correctly. But I followed this tutorial, got my Haven relay set up, then connected through Cloudflare (as he does in the video). If I ran on a VPS, I could eliminate the use of Cloudflare. Hope this helps!

https://youtu.be/kmH_cJUqGyw

Two issues:

I've never ever been able to get nginx working on anything I've tried. (Mind you, I'm an idiot.)

Anyone that uses Cloudflare is an unprincipled twerp endangering the entirety of the internet. Cloudflare is most perfect demonstration of chasing convenience over everything else. I flat out refuse.

Thank you got responding, but I'll have to pass on this instruction set as it conflicts with core values.

That's fair and I don't entirely disagree. I am also an idiot, but with some research, I was able to get Nginx to work on a VPS.

You are less of an idiot than I. 🀣

GitHub = nogo.

I have no clue how anyone uses anything from github to do anything. It's the worst UX/UI I've ever come across.

*sighs* I'll try to see if I can figure that out, but honestly isn't likely.

No need to interact with Git. Just run

`curl https://raw.githubusercontent.com/quentintaranpino/nostrcheck-server/refs/heads/main/scripts/install.sh --output install.sh && chmod +x install.sh && ./install.sh`

on a clean Ubuntu install (VM or VPS).

I probably can manage that.

Thanks.

Any luck?

There are steps in this tutorial about setting it up. It's the one I used to set up a lightning address via a VPS. It works, but I don't use it because TOR and the reverse proxy slows it down significantly. If you have the time and desire, you can pull out the applicable instructions and ignore the rest.

https://community.start9.com/t/guide-bolt-cards-lightning-address-and-reverse-proxy-all-the-things/675

Yeah... No. I'm not paying for external services. That's not fiscally sound and opens a person up to getting rugged in way too many ways.

I just want to run my own stuff on my own machines without needing external BS outside of an internet connection.

Yeah, this is the challenge. When it came to running my Haven relay, I preferred having my own hardware over paying to use someone else's. I don't like using Cloudflare to access it and will stop as soon as I find an alternative solution. But I would rather use it as a step in the process than not do anything and rely on others' relays (some of which very well may be using Cloudflare). If anyone has a solution to get around ISP port restrictions, I am more than open to it.

Alas, like you said, anything I try to do gets way more complicated and takes a lot more time, of which I don't have much to spare lately, than it probably should πŸ˜…

yeah. if you want braindead easy, you can install an umbrel server as a VM, and run a relay from their.

I would like to try it out again sometime but using haven as my relay. I saw someone do this on YouTube but had it running thru cloudflare to expose their home server to the web. seemed cool

Easiest way is to run start9 VM inside proxmox

Already did that. I can't "do" anything with that instance, though. It just logs stuff. There's nothing... Active about it?

What do you mean it's not active? I've run one for a year and a dozen people use it

It just sits there logging. No clue how to "do" anything with it, to utilize it for anything other than it just Logging.

You have to add npubs in the config and add the relay endpoint on some client

I thought I did. But that doesn't... Like... Do anything?

Do you have Tor enabled or orbot on for whatever client you're using?

Currently, no.

I have to get my server set up on this network and see how long it takes me to figure out Joe to access it. πŸ˜₯

Start9 puts the endpiunt on tor. So easy way is to just use amethyst since tor is built in

Yeah. When I had my server running, it was logging notes, I think. But I didn't see any way to, like, do anything else.

That's all a relay does lol

That's... Not true from what other people talk about, like being able to save drafts and do direct to other relay connections.

Those are other relay features. Strfry relay is basic and fast. So you'd package up a different relay for s9 or just build directly on proxmox. But I think the s9 one does drafts, but I use citrine for that.

Fast? No.

Basic? Yes.

I'm still trying to figure it how nostr *actually*works.

Strfry is fast. Tor is slow

And then what about being able to host your own media?

Also, hosting your own media over tor is pointless

I just started using proxmox yesterday after many years of just running stuff on an Ubuntu box. Now I just have an Ubuntu box inside of a VM. It’s a good option.

Downside of running it at home, is the networking aspect. Running in the cloud you don’t have to worry about opening ports into your home network