Nextcloud AIO setup for access only via Tailscale

So I finally got my Turing Pi 2 and populated 'em with a couple of RPi CM4s for my “homelab”. But I’m kind of a casual linux user and definitely a n00b relative to y’all.

I have Tailscale set up on all of my devices and want to see if I can have Nexcloud running on one of the RPis, but only have it accessible through tailscale. Is this a possibility?

(I live in an apt and don’t really have control over the router/switch)

Should I be following this? - all-in-one/local-instance.md at main · nextcloud/all-in-one · GitHub

Yes, exactly.

That doc has multiple steps like

  1. “setup DNS correctly”, which with Tailscale is the “magic DNS”, your hosts basically have <hostname>.<tailnet>.ts.net names, where you’ll be able to find your Pi on which you installed nextcloud and tailscale.

  2. Setting up the reverse proxy to listen to <hostname>.<tailnet>.ts.net and proxy that to localhost:11000 , in particular they mention Caddy which I really like because it’s so easy to use - it’ll obtain and maintain certs for you in the background automatically. Just don’t listen on 443 on the apartment network interface.

2 Likes