To be clear I’m a beginner and I’m a bit overwhelmed with all the information I found and not completely sure if the information I found is up to date or outdated and I figured I would just ask here to get some clear answers.

What I want to achieve:

  • have TrueNAS Scale web GUI and installed apps like Nextcloud or Photoprism be remotely accessible
  • have that remote access be secure
  • use my registered domain instead of the IP address of my server to access the TrueNAS Scale web GUI and the installed apps
  • don’t have certificate warnings when accessing all this over HTTPS

Can someone explain to me how I achieve this or point me to a guide that walks me through it? I appreciate any help I can get.

I already managed to setup Tailscale and managed to access my server through that but then I got stuck on how to set it up to use my registered domain name to access the server.

So the next thing I tried was using the DynDNS of my Fritzbox but unfortunately it seems that Cloudflare (where I have registered my domain) does not provide a “update url” which the Fritzbox DynDNS GUI requires to set it up. This was to use it in combination with port forwarding and Wireguard (this is the guide I was following: https://www.wundertech.net/how-to-set-up-wireguard-on-truenas-scale/)

I also found this guide: https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/ but that’s for servers without TrueNAS and I don’t think I’m experienced enough to transfer it and apply it to TrueNAS.

So yeah, I’m overwhelmed by information and I need help.

3 points
*

Follow this :) https://truecharts.org/manual/SCALE/guides/getting-started/ Its how Ive set everything up and its a breeze.

You’re going to want to use the traefik chart from trucharts. Makes this sort of thing a breeze. Move your truenas scale UI off port 80, then set traefik to sit on 80/443. You also need the cluster cert manager chart.

permalink
report
reply
4 points

To connect via a domain name I would recommend using a VPS as a reverse proxy to your server. This is easily done by initiating a Wireguard connection to the VPS, then connecting to your home server via the domain which points to the VPS’s ip. Quick google search got me this.

And for wolfgang’s blog, all he’s doing is setting up NPM then pointing Nextcloud’s ip+port to his domain name (which is a DuckDNS). For truenas scale I found this, which basically says that Traefik is a better reverse proxy for scale.

Note: I have not used TrueNAS Scale at all, so take my info with a grain of salt. I personally feel as if using Proxmox and then making 1x TrueNAS Core and 1x Linux containers would be easier, but I digress. Let me know if you have questions.

permalink
report
reply
1 point

I will echo this. I’m pretty new to homelabbing (I got a Synology NAS a year ago but have just gotten more serious about is and built a new machine last week that I have installed Proxmox and TrueNAS Core on). I haven’t set up remote access yet on the new machine, but for my Synology I have a VPS with Nginx (not NPM just vanilla Nginx) pointing to a VM on the Synology that also has Nginx, with a Wireguard tunnel between them. The VPS uses Nginx to forward ports 80/443 to the local VM (if the headers have appropriate URLs), then the local VM uses Nginx to forward the requests to the locally hosted services.

I’m thinking about dabbling with Traefik to set things up with my new machine, but the VPS+VM (or a container) with proxy capabilities is the way to go. And, of course, have your domain point to the VPS.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 5.2K

    Monthly active users

  • 3.5K

    Posts

  • 76K

    Comments