Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐱 TAILCAT ZER0

Ephemeral WireGuard Tunnels, Remote Support Shells & Encrypted File Inboxes for Asuswrt-Merlin Routers

Release Firmware License Engine

Powered by Tailscale's TailCat engine (magicsock + WireGuard + DERP NAT traversal) without requiring a Tailscale account, central coordination server, or public open ports.


  TAILCAT ZER0 v1.12.1             ╱|、
                                 (˚ˎ 。7  
                                  |、˜〵          
  Instant Tunnel Manager         じしˍ,)ノ

========================================================================

  1. 🆘 Remote Support Shell         View-only (safe) or full root     [🟢 Root + 🔒 View]
  2. 📥 Receive Files & Folders      Direct P2P file/folder drop box   [⚪ Inactive]
  3. 📁 Share Directory (SFTP)       Share a folder from your drive    [🟢 Active: 28m]
  4. 🌐 Expose Router WebGUI         Access to router's web interface  [⚪ Inactive]

  ------------------------------------------------------------------------

  5. ⏱️ Configure Default Timeout    Current: 30 min
  6. ⚙️ Manage TAILCAT ZER0          Update, reinstall, or remove

========================================================================

  👁️ View Sessions  |  🛑 Stop  |  ↩️ Exit: 

⚡ Quick Install

Run this command in your router SSH terminal:

curl -fsSL https://raw.githubusercontent.com/underd0se/tailcat-zero/main/install.sh | sh

Launch the interactive TUI:

tailcatzero

🎯 What is TAILCAT ZER0?

  • Zero Accounts & Servers: Generates standalone, capability-based 256-bit WireGuard tokens. No Tailscale account, API keys, or central coordination server needed.
  • Zero Open Ports: Traverses CGNAT, double-NAT, and strict firewalls using WireGuard + DERP relay fallback without opening any WAN firewall ports.
  • Zero-Trust Security: Drop-in connections default to an isolated, read-only C99 diagnostic sandbox (tailcat-view-shell). Full root shell requires deliberate confirmation.
  • Auto-Kill & Ephemeral: Background watchdog automatically shuts down sessions after a configurable timeout (default: 30 mins) with broadcast countdown warnings at 5m and 1m.
  • Reboot Persistence & amtm Notifications: Sessions set to Persistent mode (timeout: 0) automatically restore on boot via /jffs/scripts/wan-event. When ephemeral keys regenerate, new tokens are dispatched in a single combined email via Asuswrt-Merlin's amtm mail integration.

🛠️ Core Capabilities

Feature Description Default Mode
🔒 View-Only Shell Safe diagnostic shell in C99 with Tab autocompletion & command history. System writes, deletions, and state changes are blocked. Real-time request <cmd> approval for elevated tools. Capped at 120m max (never persistent). Default
⚡ Full Root Shell Unrestricted administrative SSH terminal. Requires explicit YES confirmation. Opt-in
♾️ Persistent Sessions Auto-restart root/file/web tunnels across reboots & power outages via WAN event hook, automatically emailing renewed keys via amtm. Opt-in (timeout: 0)
📥 File Receiver Inbox Secure P2P file receiver into volatile RAM (/tmp/tailcat-inbox) or mounted USB drives. Ready
📁 SFTP Directory Share Serve router paths (e.g. /jffs or USB drives) securely to remote SFTP clients. Read-Only or R/W
🌐 WebGUI Tunneling Forward router web interface (port 8443/80) securely over encrypted WireGuard tunnel. Ready

💻 Connecting from Client Machines

Install the official tailcat client on your computer:

  • macOS: brew install tailcat
  • Linux / Go: go install github.com/tailscale/tailcat/cmd/tailcat@latest
  • Binaries: TailCat Releases

Quick Commands:

# Connect to Remote Support Shell (view-only or root)
tailcat ssh <token>

# Send a file to the router inbox
tailcat cp backup.tar.gz <token>:

# Browse SFTP shared files
tailcat ls <token>

# Forward WebGUI to your local browser (open https://localhost:8443)
tailcat forward <token> 8443

📚 Documentation & Guides

Detailed architectural guides, advanced options, and configuration references are available in the Official Wiki:


🗑️ Uninstallation

From the TUI, select Option 6 ➔ Option 3, or run:

rm -rf /jffs/addons/tailcatzero /jffs/addons/tailcat /jffs/scripts/tailcatzero /jffs/scripts/tailcat /opt/bin/tailcatzero

📝 Changelog & License