> homelab · build 01
Remote Access to My Lab With Zero Open Ports
Tailscale as a subnet router and exit node in an unprivileged Proxmox container, and the four problems I hit getting it to route.
I'm rebuilding my home SOC lab from scratch, and remote access is the first piece. Every later step (firewall, SIEM, Active Directory) is easier when I can manage the lab from anywhere. I wanted that without opening a single port on my home router, so nothing is exposed to the internet.
What I built
| Item | Setup |
|---|---|
| Container | Unprivileged Debian 12 LXC on Proxmox VE 9.2 |
| Resources | 2 vCPU, 512 MB RAM, 8 GB disk, static IP |
| Subnet router | Reach any device on my home LAN by its normal IP |
| Exit node | Send my traffic out through home when I'm on untrusted Wi-Fi |
| Inbound ports opened | Zero |
The four problems
Installing Tailscale was the easy part. Making it actually route is where the work was:
- The console had nothing to enable. The admin page said the machine exposed no routes. It can only switch on what the node advertises, and I hadn't told it to advertise anything yet.
tailscale uprefused my change. Once a setting like--sshis on, you have to restate every non-default flag. That's a safety feature that stops you silently dropping a setting.- IP forwarding was off. A router has to forward packets, and Linux blocks that by default. The documented fix used
sudo, which the minimal container doesn't have because you're already root. - No TUN device. Unprivileged containers don't get
/dev/net/tun. I granted it from the Proxmox host by adding two lines to the container's config, following Tailscale's own LXC guide.
What I took away
- Unprivileged containers make you ask for what you need. TUN access and IP forwarding both had to be granted on purpose. That's least privilege doing its job.
- Read the error before searching. Every fix here came from a message Tailscale printed or from its own docs.
- Remote access doesn't need open ports. It's the setup I'd recommend to any small business.
The full walkthrough, every command and all 35 screenshots are on GitHub.
Read the full write-up →