Headscale + SWAG

In a previous post: Headscale, how to self-host tailscale, I explained how to configure headscale in server; now it is outdated. At that time the only way to install it was using the .deb or binary file, but now we can use a simpler method. This time we will focus on: Docker, headscale and SWAG. SWAG (Secure Web Application Gateway) sets up an Nginx reverse proxy with built-in cerbot for SSL certificates using Let's Encrypt. I already wrote a litter bit about it here. ...

March 15, 2026 · 5 min · 867 words · Me

Reverse proxy, no more 192.168.1.25:8080

From Wikipedia; A proxy server that appears to any client to be an ordinary web server, but in reality merely acts as an intermediary that forwards the client's requests to one or more ordinary web servers. In other words, it is like a man in the middle that redirects traffic. The most common case is for visiting severs for a name or fully qualified domain name (FQDN), like www.enchilada.lan, instead of the ip of the server (e.g. 192.168.1.25). ...

July 19, 2025 · 4 min · 729 words · Me

Mount samba shares with systemctl

This comes directly from the archwiki, due to I got tired of mount the nas shares using dolphin (or similar) and have to go to the /run/media.... path everytime, or by manually running: 1 mount --mkdir -t cifs //SERVER/sharename /mnt/mountpoint -o username=username,password=password,workgroup=workgroup,iocharset=utf8,uid=username,gid=group Instead, I will just manually run: 1 systemctl start mnt-nas.mount Or enable it to mount it automatically during boot and to unmount I just have to stop the service. ...

June 22, 2025 · 2 min · 392 words · Me

Folder share from Proxmox to LXC, for Samba

Since I installed Proxmox for my small home server, I struggled a bit with nas shares due to user ownership and permissions, but after searching a bit I encountered a tutorial (I can remember where) to do it easily. So, before I forget it I will write here how I nailed it. It works to share a mountpoint from Proxmox to the LXCs, so if you have an ssd/hdd in that directory, it will share the whole disk. ...

June 21, 2025 · 2 min · 307 words · Me