← Back to all

Tailscale

Estimated

Reach your NAS from anywhere over a private WireGuard network. No open ports.

Replacesngrok Personal ($96/yr)
Memory footprint40 MB idle · 80 MB peak
Architecturesamd64 / arm64
LicenseBSD-3-Clause · Easy

Watch out

The coordination server is Tailscale’s cloud (self-host Headscale if that matters). The container needs /dev/net/tun and NET_ADMIN.

Zero-open-port Compose snippet

Includes mem_limit and 127.0.0.1 binding. Open in Planner to combine with Tailscale/Cloudflare & .env.

# Generated by NASPicks (https://naspicks.com/planner/)
# Hardware: UGREEN NASync DXP2800 (8 GB, ugos) | Peak est: 0.1 GB / 6.7 GB
# Zero-open-port default: web ports bind to 127.0.0.1 and are reached via tailscale.
# Every service includes mem_limit (peak x 1.2) to help prevent host OOM freezes.

services:
  tailscale:
    image: tailscale/tailscale:stable
    container_name: tailscale
    restart: unless-stopped
    mem_limit: 128m
    network_mode: host
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - TS_AUTHKEY=${TS_AUTHKEY}
      - TS_STATE_DIR=/var/lib/tailscale
      - TS_EXTRA_ARGS=--advertise-tags=tag:nas
    volumes:
      - ${DATA_DIR}/tailscale:/var/lib/tailscale

networks:
  naspicks:
    driver: bridge

Comments (GitHub Discussions)

GitHub Discussions ↗

Comments load lazily to keep pages fast everywhere.