Tailsman is a comprehensive, single-file shell script designed to simplify the installation, management, and maintenance of Tailscale on routers running AsusWRT-Merlin firmware. It provides simple commands to handle everything from initial installation and version management to starting, stopping, and automating the Tailscale service.
- Single-File Script: No dependencies besides standard router utilities (
curl,tar,cru). - Simple Installation: A single
install latestcommand downloads, installs, and starts the correcttailscaleddaemon. - Automatic Firewall Management: Automatically applies necessary
iptablesrules to allow traffic on the Tailscale interface. crucially, it integrates withfirewall-startto ensure these rules persist even when the router's firewall reloads. - Bootstrapped Time Sync: Includes robust NTP checks to ensure the system clock is accurate before starting Tailscal
