#dev 2026-12-05

2026-12-05 UTC
sebsel, vhbelvadi, Pixi, rMdes-bnc4, redshuffle, lecaseus, troojg, grufwub, k3can819 and [Rose] joined the channel
#
[Rose]
I hyperfocused on smart home stuff… I got a Garmin watch and really wanted to use it with HomeAssistant, but I am a bit “extra” with security.
#
[Rose]
I thought my Caddy config to resolve the challenge might interest people. Basically, a workaround so if something in your home demands you access it via proper HTTPS, you can at least make it so that only actually WORKS when it’s in your home.
#
[Rose]
The result - LAN and Tailscale work flawlessly. But the general internet will have difficulties.
#
[Rose]
I use a bash script with an hourly cron job to check if the public IP address of the network has changed, and if so, update the Caddyfile with it and remove the defunct one. I can also run it on demand if needed.
#
[Rose]
• In the example, 192…. is your local network, 100… is your Tailnet, and 200.20.20.20 is the public external IP address of your home network.
#
[Rose]
• Bog-standard public IP address in the DNS records.
#
[Rose]
HomeAssistant:
#
[Rose]
Reachable via LAN, Tailscale, or a dynamically updated home/remote IP address.
#
[Rose]
Behind the scenes:
#
[Rose]
• ufw firewall opens some additional ports, but only locally and for Tailscale.
#
[Rose]
• Fritz!box router forwarding port 80 and 443 only to the NUC (home server)
#
[Rose]
• Useful when you want some sort of very secure remote access for maintenance (so using Tailscale will suffice), but also need to use certain devices (smart watches or whatever else) that need standard (not self-signed) HTTPS but also can’t use Tailscale.
#
[Rose]
@blocked not client_ip 192.168.1.0/24 100.64.0.0/10 200.20.20.20
#
[Rose]
respond @blocked 403
#
[Rose]
Uptime Kuma: Restricted strictly to LAN and Tailscale, because silly devices don’t need access to it anyway.
#
[Rose]
@blocked not client_ip 192.168.1.0/24 100.64.0.0/10
#
[Rose]
respond @blocked 403
vhbelvadi, chish, potternezer, [Sophia], Saige_Leah, solonovamax1, JoshuaMorris, sp1ff, [jeremycherfas], kal_jan2, kal_jan7, thatoddshade, kal_jan1, trwnh, kal_jan8, chish_, troojg, vikanezrimaya, barnaby, rrix, WinnerWind, pstuifzand and CrimeWave joined the channel