Using Tailscale to Remotely Access CasaOS

Software Environment: CasaOS V0.4.4, Tailscale V1.21.3

Introduction: Tailscale + CasaOS - Intelligently Connect Your Home Network!

  1. Easily build an encrypted private network, devices connect directly via private IP without exposing to public internet.

  2. No need for servers or complex port forwarding, login with account to automatically connect intranet.

  3. Simple and convenient to configure, download app and use them directly, no professional networking knowledge needed.

  4. Different devices can join the private network for secure access between them.

  5. When going out,you can securely access CasaOS devices and services at home via mobile devices.

  6. Fast speed and low latency with Tailscale private network. Mesh network solution is more stable.

  7. Improve security by enabling selective services through access control.

  8. CasaOS + Tailscale can easily build home private networks for remote access and device connectivity.

Quick Operation Steps:

  1. One-click install Tailscale client on CasaOS.

  2. Register Tailscale account and add auth key.

  3. Install Tailscale client on other devices, login with the same account.

  4. These devices now form a Mesh private network via Tailscale.

  5. Can directly access and connect them via private IP.

Detailed Steps:

Step 1: Install Tailscale on CasaOS

  1. Import tailscale with docker

  1. **Open link to import Tailscale:**Docker

Step 2: Register Tailscale account and add auth key

  1. Register account

  1. Check auth key

  1. Add auth key to env var “TS_AUTHKEY”

  1. View devices

Step 3: Install Tailscale client on other devices, login with same account

  1. View device IP (method 1)

Check the device IP (Method 2), right-click on the taskbar to view my device

  1. Copy the IP and log in remotely to use CasaOS (Method 1)

Access via domain name (Method 2)


Some notes when using Tailscale on CasaOS for intranet penetration and remote access:

  1. Use independent strong passwords for Tailscale accounts to ensure security.

  2. Open needed ports and services on CasaOS, no need to directly expose all ports.

  3. Set access control rules to only allow certain devices to access specific ports or services.

  4. Enable access logs for critical services to monitor suspicious activities.

  5. When accessing externally, choose secure networks, avoid unsafe WiFi.

  6. Set complex login password for CasaOS, enable firewall, security updates etc.

  7. Avoid transferring sensitive data over Tailscale, can add VPN.

CasaOS + Tailscale provides a simple yet powerful home network connectivity solution.

By one-click installing Tailscale client on CasaOS, creating account and joining devices to network, your entire home network is connected. All devices are securely and directly connected instead of complex port forwarding and firewall settings. You can also securely access internal services from external network through access control. Whether you want to remotely view home surveillance cameras, access files on NAS, or remotely control smart home devices, CasaOS + Tailscale will provide a convenient, fast and secure connectivity experience.

1 Like

I have a Zimacube and am unable to access it remotely via Tailscale. I setup it by following theabove tutorial so I do have the auth key and it shows as “connected” in Machines in TS. I’ve tried the IPv4 and the Full domain with no luck. It partially loads the GUI and a, “Failed to load apps, please refresh later”, error pops up a bunch of times.

Is this compatible with Zima OS?

Have you tried restarting and waiting for a few minutes, and will these apps display normally? ZimaOS has a built-in remote access function, please refer to this link.

It started working after updating to 1.2.2. Thanks for your help and I’m hoping it keeps working.

1 Like