A dashboard, media server or Linkwarden instance is more useful when you can reach it away from home. Before forwarding an application port, consider whether private access from your own devices would meet the need. Tailscale gives a Proxmox lab a WireGuard-based mesh network for that job, with access determined by the route and policy you allow. The setup below uses a dedicated container so the gateway has a clear role you can back up and maintain.
Choose Private Access for Private Services
Port forwarding publishes a service for internet clients to reach, which also means keeping its exposure, proxy configuration and updates under control. An unpatched application or exposed debug port can create a problem even when the original aim was just phone access. For a lab used only by permitted devices, it is worth asking whether the application needs a public entry point at all.
Tailscale flips the model. Instead of publishing an application port, it builds an encrypted overlay network between devices in a private “tailnet.” Connections normally upgrade to direct peer-to-peer UDP, but direct connectivity is not guaranteed: hard NAT or firewall conditions can require a peer relay or a Tailscale DERP relay. All of those paths remain end-to-end encrypted with WireGuard; a DERP server forwards ciphertext rather than decrypting it. Tailscale documents the distinction in its connection-types reference[1].
Getting Tailscale Running on Proxmox
This setup places Tailscale in a dedicated LXC container on the Proxmox host. It separates the VPN gateway role and gives you something specific to back up or migrate, with subnet routing and firewall controls configured afterward. Begin with a host that has a working internet connection, then check the container’s network and device access as you go.
Picking the Right LXC Template
Start by creating an unprivileged LXC container. Unprivileged containers add a security layer by mapping root inside the container to a non-root user on the host, which limits potential damage if the container is compromised. For the OS, use a currently supported Debian or Ubuntu template suitable for a single-purpose node.
Attach the container to your usual bridge network (for example, vmbr0) so it gets a LAN IP. An unprivileged LXC does not receive /dev/net/tun automatically. In current Proxmox, open the container’s Resources tab, choose Add → Device Passthrough, enter /dev/net/tun, then fully stop and start the container. Tailscale’s official LXC guide[2] also gives pct and older-Proxmox alternatives, plus userspace networking mode for environments where you cannot grant the device. Size CPU, memory, and disk for your own traffic and logging rather than treating one small allocation as universal.
Installing and Authenticating Tailscale
Open the container’s console and update the package list:
apt update && apt upgrade -y
Install Tailscale using its official script:
curl -fsSL https://tailscale.com/install.sh | sh
That script detects Debian, adds the repo, and installs the tailscale package. Once it finishes, authenticate the node and connect it to your tailnet:
tailscale up
You’ll get a URL to open in a browser on any device. Follow the browser’s identity-provider sign-in flow for your Tailscale account, and check that the container appears in your admin console. Back in the container, verify the connection:
tailscale status
Look for the container’s node and its 100.x.y.z Tailscale IP in that output. Once it appears, you have the tailnet connection in place and can move on to the forwarding needed for other lab addresses.
First-Boot Tweaks
A couple of small adjustments now will save headaches later. First, enable IP forwarding, which is required for subnet routing (even if you don’t use it immediately):
echo 'net.ipv4.ip_forward = 1' > /etc/sysctl.d/99-tailscale.conf
sysctl -p /etc/sysctl.d/99-tailscale.conf
Next, make sure the Tailscale service starts on boot:
systemctl enable --now tailscaled
In Proxmox, also enable the container’s Options → Start at boot if it should recover automatically after a host restart. The service setting above starts Tailscale when the container boots; it does not start the container itself.
Check the container’s connectivity with tailscale netcheck, then use tailscale status and tailscale ping <peer-name-or-IP> to check a permitted tailnet peer. A failed ordinary ping alone does not prove internet access is broken, since the destination or firewall may block ICMP. Resolve network and outbound-firewall problems now, before diagnosing subnet routing from a second network.
Subnet Routing: Reach Every VM and Container
At this point, permitted devices on your tailnet can access the Tailscale LXC itself. But what about the other VMs and containers on your Proxmox host—the ones without Tailscale installed? Subnet routing lets the LXC act as a gateway, advertising your LAN subnet to the rest of the tailnet so permitted devices can reach those internal IPs.
The concept is simple: the LXC sits on your LAN (say, 192.168.1.0/24). You tell Tailscale to advertise that subnet. Once approved, a permitted tailnet device will route traffic for 192.168.1.x through the LXC’s WireGuard tunnel. The LXC then forwards that traffic onto your physical LAN, and with Tailscale’s default subnet-route SNAT, the target VM sees the LXC’s LAN address as the source.
To set it up, run this in the container, replacing the subnet with your own:
tailscale set --advertise-routes=192.168.1.0/24
Using tailscale set changes this preference without re-specifying authentication and unrelated tailscale up flags.
Now head to the Tailscale admin console. Find the container’s device, open its Subnets section and select Edit to open Edit route settings. Select the advertised subnet under Subnet routes, then save the approval. The route also needs an access policy that permits the destination; this single-LAN example does not require a home-router port forward. The LXC must be running for routing to work, but you already planned to keep it up 24/7 anyway.
On a Linux client, enable advertised-route acceptance with sudo tailscale set --accept-routes; the supported macOS, Windows, iOS, and Android clients accept subnet routes by default. Route approval and client acceptance are separate steps. Avoid overlapping local and lab subnets, since a more specific local route can send traffic elsewhere.
From a laptop connected to Tailscale, test a Proxmox VM at its LAN IP. If it does not reply, check IP forwarding with sysctl net.ipv4.ip_forward and whether the VM’s firewall accepts traffic from the LXC’s LAN IP. Once the route and access policy work, permitted guests become reachable without installing Tailscale on each one.
MagicDNS and HTTPS: Friendly, Secure Access
Remembering IP addresses gets old fast. Tailscale’s MagicDNS gives every device a human-readable name like proxmox-lxc.tailnet-name.ts.net. Enable it in the admin console under DNS by turning on MagicDNS. After DNS settings take effect, you can ping proxmox-lxc from a tailnet device using Tailscale’s DNS settings and it resolves to that device’s Tailscale address.
The MagicDNS name belongs to the device that runs Tailscale. proxmox-lxc.tailnet-name.ts.net therefore reaches the LXC, not the Proxmox host’s port 8006. To reach the Proxmox UI through this subnet-router design, use the host’s LAN address through the advertised route. If you want a Proxmox-host MagicDNS name and certificate, install Tailscale on the host and follow Tailscale’s Proxmox integration[3]. Tailscale HTTPS is available today through tailscale cert, and Tailscale Serve can proxy the host UI with an automatically managed certificate; it is not a future-only feature.
Tailscale Funnel is a different design: it publishes a service to the public internet. Keep it off for this private-access setup.
Locking It Down: Firewall and Tailscale ACLs
Check the access rules before treating the new route as ready. Avoiding a public application port does not remove the LXC’s role as a gateway into the LAN. Use Proxmox’s host firewall for its exposure and Tailscale access policy for the traffic permitted through the overlay, keeping each control at the layer it can see.
A firewall rule must be applied at the layer where the interface exists. Proxmox's container firewall filters the LXC's virtual LAN interface; it does not see the tailscale0 interface inside the container as a selectable Proxmox interface. A Proxmox rule that claims to “allow tailscale0” is therefore the wrong control. Use the Proxmox firewall for the container's LAN exposure and Tailscale policy for overlay access. If you add a host firewall inside the LXC, make changes from console access and preserve the traffic Tailscale needs.
Start egress with ACCEPT. A rule that permits only UDP destination port 41641 and TCP 443 is too narrow for reliable direct connections: Tailscale's default WireGuard source port is 41641, peer destination ports can vary, STUN uses UDP 3478, and DERP destinations evolve. If you must filter egress, build from Tailscale's current firewall-port guidance[4] and test both direct and relayed paths with tailscale status or tailscale ping.
Use a tag for the subnet-router device and grants for new access policy. This example lets administrators manage the router and lets tailnet members reach the advertised lab subnet:
{
"groups": {
"group:admins": ["priya@example.com"]
},
"tagOwners": {
"tag:homelab-router": ["autogroup:admin"]
},
"grants": [
{
"src": ["group:admins"],
"dst": ["tag:homelab-router"],
"ip": ["*"]
},
{
"src": ["autogroup:member"],
"dst": ["192.168.1.0/24"],
"ip": ["*"]
}
]
}
Assign tag:homelab-router to the LXC through an approved tag workflow[5], replace the identity and subnet, and add policy tests before saving. Tailscale recommends grants for new policies[6]; legacy ACLs remain supported but are no longer the preferred syntax. Narrow the subnet grant if every tailnet member should not reach every lab service.
You now have an unprivileged LXC acting as a private subnet gateway, with MagicDNS and access controls serving their respective roles. Keep an encrypted, access-controlled backup of the container, including its Tailscale state, and retain the route and policy settings, then test access from a second network before depending on it for remote recovery. The current free Personal plan supports up to six users and unlimited user devices, with separate limits for tagged resources and some features; check the live pricing table[7] for a larger deployment. Keep the lab addresses limited to the devices and services you intended to make reachable.