It allows you to access devices and services that cannot run Tailscale themselves by turning a Linux host into a Tailscale-enabled pseudo-node. TailProxy can also be used as a reverse proxy for self-hosted applications and internal web services.
Instead of installing Tailscale on every device, TailProxy securely forwards traffic from your Tailnet to backend services on your local network, making them accessible through a single Tailscale node.
In many homelab and self-hosted environments, deploying Tailscale on every device is impractical or impossible.
TailProxy acts as a Pseudo-Node, representing one or more backend services behind a single Tailscale endpoint.
🌐 Tailnet
│
▼
🐳 TailProxy
│
┌────────────┼────────────┐
▼ ▼ ▼
🌍 Web 🔒 HTTPS 📡 MikroTik
:80 :443 :8291
Devices without Tailscale
This enables secure access to internal resources without:
- ❌ Port forwarding
- ❌ Public IP exposure
- ❌ Installing Tailscale on every host
- ❌ Manual HAProxy configuration
- 🔗 Based on the official
tailscale/tailscaleimage - 📡 Access devices that cannot run Tailscale
- 🔀 Multiple services behind a single Tailnet node
- 🐳 Docker and Podman compatible
- 🏗️ Supports amd64 and arm64
docker run -d \
--name tailproxy \
--network host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
-e TS_AUTHKEY=tskey-xxxxxxxx \
-e IP_PORTS=192.168.1.1:80,192.168.1.1:443,192.168.1.1:8291 \
rahadyanrizqy/tailproxy:latestdocker run -d \
--name tailproxy \
--network host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
-e TS_AUTHKEY=tskey-xxxxxxxx \
-e TARGET_IP=192.168.1.1 \
-e TARGET_PORTS=80,443,8291 \
rahadyanrizqy/tailproxy:latestBoth formats produce the same forwarding behavior.
All standard variables from the upstream tailscale/tailscale image are supported.
| Variable | Description |
|---|---|
IP_PORTS |
Comma-separated list of IP:PORT pairs |
TARGET_IP |
Backend target IP |
TARGET_PORTS |
Comma-separated list of ports |
Expose a MikroTik router through a single TailProxy node:
TARGET_IP=192.168.1.1
TARGET_PORTS=80,443,8291Generated forwarding:
80 → 192.168.1.1:80
443 → 192.168.1.1:443
8291 → 192.168.1.1:8291
- 🏠 Homelabs
- 🌐 Self-hosted applications
- 📡 Router management (MikroTik, OpenWrt, etc.)
- 💾 NAS access
- 📊 Internal dashboards
- 🔧 Remote administration
- 🖥️ Legacy devices without Tailscale support
- 🔀 Service aggregation behind a single Tailnet node
TailProxy extends the official Tailscale container by integrating:
- 🔗 Tailscale
- ⚡ HAProxy
GNU Affero General Public License v3
