Installation
Prerequisites
- OpenWrt router with internet access
- SSH access to your router
- At least 8-10 MB free space (Small mode) or 30-35 MB (Official mode)
Quick Install
SSH into your router and run:
sh
wget -O /usr/bin/tailscale-manager https://raw.githubusercontent.com/fl0w1nd/openwrt-tailscale/main/tailscale-manager.sh && chmod +x /usr/bin/tailscale-manager && tailscale-managerThis single command will:
- Download the manager script
- Make it executable
- Launch the interactive menu
Interactive Menu
The interactive installer will guide you through:
- Download source — Choose Official (~30-35 MB) or Small (~8-10 MB)
- Storage mode — Persistent (
/opt/tailscale) or RAM (/tmp/tailscale) - Download & install — Automatically fetches the correct binary for your architecture
- Start service — Starts Tailscale via the procd init system
Dependencies
The installer automatically detects and installs missing dependencies via opkg:
| Package | Purpose |
|---|---|
wget-ssl | Downloading binaries over HTTPS |
libustream-mbedtls | TLS support for wget |
ca-bundle | CA certificates for HTTPS verification |
kmod-tun | Kernel TUN device (optional, for TUN mode) |
iptables / iptables-nft | Firewall rules for subnet routing |
TIP
If opkg is not available, the installer will show warnings with manual install instructions.
Post-Install
After installation, connect to your Tailscale network:
sh
tailscale upThen approve the device in the Tailscale Admin Console.
Next Steps
- Download Sources — Learn about Official vs Small binaries
- Subnet Routing — Access your LAN from other Tailscale devices
- CLI Commands — Full command reference