this post was submitted on 06 Mar 2025
12 points (92.9% liked)

Selfhosted

43312 readers
446 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 2 years ago
MODERATORS
 

I self-host a couple of services, but I haven’t exposed anything outside my home network. I want to self-host my calendar, but not sure if I can do it without exposing it. Any recommendations on the best way to go about this? For those who do self-host a calendar service, how do you keep it secure?

top 17 comments
sorted by: hot top controversial new old
[–] tekeous@usenet.lol 4 points 4 hours ago

Radicale is the GOAT and supports authentication. Or you can just run it on a LAN behind a firewall.

[–] ChillPill@lemmy.world 3 points 4 hours ago

VPN is the way to go if you're not sharing it with a bunch of people

[–] tapdattl@lemmy.world 8 points 6 hours ago (1 children)

I think the general consensus for homelabbers is a mesh network -- Tailscale and Netbird are the two most popular options

[–] reboot6675@sopuli.xyz 2 points 5 hours ago

Related question, what CalDAV server are you using? Been looking for something lightweight

[–] enemenemu@lemm.ee 3 points 6 hours ago* (last edited 6 hours ago) (1 children)

I run nextcloud on my machine. If there's a crack, there would be one in their hosted instance as well. There's nothing really I can do about security of it.

[–] higgsboson@dubvee.org 1 points 6 hours ago (1 children)

I do not expose Nextcloud to the internet. I use dnsmasq to give LAN clients the private IP. If I need to access NC from elsewhere, there's VPN for that.

[–] enemenemu@lemm.ee 1 points 6 hours ago

Sounds like a good solution as well

[–] Selfhoster1728@infosec.pub 3 points 6 hours ago (2 children)

mTLS with a reverse proxy!

[–] cmg@infosec.pub 3 points 6 hours ago (1 children)

What caldav clients supports that?

I’d recommend the Tailscale style approach. MTLS is a pain imo without infrastructure and especially on the app layers

[–] Selfhoster1728@infosec.pub 1 points 1 hour ago* (last edited 1 hour ago)

Tailscale is simpler but when you're accessing from devices behind VPNs like I do mTLS is a lifesaver.

I use DAVx⁵ for caldav (supports mTLS)

I find mTLS cool too :P

In terms of being a pain it's not that bad with nginx in my opinion. I can just build my own certificate for each service I expose or you use a common one, giving read only access to the key for my nginx containers and in two lines in the .conf it's sorted.

[–] ClownsInSpace2@lemm.ee 2 points 6 hours ago (1 children)

This is the first time I’ve heard of mTLS. Sounds interesting, any tutorial recs?

[–] Selfhoster1728@infosec.pub 1 points 1 hour ago

Not any in particular but mTLS is essentially just a reverse proxy (like nginx) asking a client for a certificate to be able to access the service behind it.

There are quite a few guides out there, so choose one for your reverse proxy of choice!

[–] wildbus8979@sh.itjust.works 3 points 7 hours ago (1 children)

Who do you want to have access to said calendar?

[–] ClownsInSpace2@lemm.ee 1 points 7 hours ago (1 children)

Just myself, but I would like to keep it synced between my phone and my laptop while also keeping a backup.

[–] wildbus8979@sh.itjust.works 3 points 5 hours ago

Then you should really look into setting up a personal VPN. After that what you use to do calendar becomes irrelevant in terms of access.

[–] tenebrisnox@feddit.uk 0 points 5 hours ago

Could you set up a Cloudflare tunnel and make sure the security rules are tight enough to keep others out?