this post was submitted on 21 Feb 2024
23 points (89.7% liked)

Selfhosted

39856 readers
440 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

So, I've had it up to here (^^^) with the family using WhatsApp, etc and I'm heading off into the land of XMPP to find a better solution.

I've got a Pi3 hanging off my pfSense firewall acting as a kinda DMZ box, so thought I could setup an XMPP server on it (Prosody?)

Any advice? Will the Pi crumble (see what I did there) under the pressure of 4 people using it?

Issues with proxying outside with a Lets Encrypt cert on the pfSense box, but maybe not inside the network?

"Better" server software?

Thanks

top 8 comments
sorted by: hot top controversial new old
[–] solidgrue@lemmy.world 4 points 8 months ago (2 children)

I ran an ejabberd node on an old x86 for years for family and some close friends. Works great.

Then I got tired of maintaining devices after long days at work doing IT things. We talked. Signal is easier. We moved over to that, in the end.

A Pi3 1GB will easily scale to 4 people.and beyond. XMPP is really lightweight for text and images. Consider a Pi4 for voice or video though.

[–] poVoq@slrpnk.net 5 points 8 months ago (2 children)

Currently xmpp voice and video calls are not going through the server at all, so it will work just fine on a RPi3.

[–] solidgrue@lemmy.world 3 points 8 months ago

News to me! Good to know, though.

I think realtime media routed through the node back when I was running one, but that was quite a while ago now. It wasn't bad for my crew, but load scales exponentially in those sort of applications as you take on endpoints.

[–] Cyber@feddit.uk 2 points 8 months ago (1 children)

Ah, right. I wasn't sure about that part.

So, the XMPP server just helps to initiate the connextion between clients then they communicate directly?

Will that work if someone's at home (inside the network) and talking to someone outside (via the pfSense proxy)?

[–] poVoq@slrpnk.net 1 points 8 months ago

For a/v calls yes. You might need to configure a STUN server to help clients find each other if they are behind a NAT.

[–] mbirth@lemmy.mbirth.uk 4 points 8 months ago

Yep, had ejabberd running on a Pi 3 with all the XEPs supported by Conversations enabled and various transports. 4 or 5 people at times. No problems at all - with chat and memes, that is. Never tried video or voice calls, but I don't think they require much work from the Pi itself.

However, similar to @solidgrue@lemmy.world, in a bout of simplifying my life I decided to nix the setup as all people involved also had one or more of Threema, Signal or Telegram anyways.

[–] poVoq@slrpnk.net 3 points 8 months ago (1 children)

No problem at all. Both Prosody and Ejabberd will work, but Prosody probably a bit better. Maybe see if https://snikket.org (Prosody based) has the right Docker images for that arch, but I think it does support ARM64.

[–] Cyber@feddit.uk 1 points 8 months ago

Thanks. I've not found snikket to compare with, but will take a look.