If you’ve been following our Raspberry Pi video series, you’re in for a treat today. We’re diving deep into installing two powerful tools: CasaOS and Tailscale, transforming your Raspberry Pi into a robust hub for your projects. Both these tools offer unique capabilities, with CasaOS giving a web-based UI and Tailscale setting up a bespoke VPN without the need for port forwarding. Let’s break it down step-by-step.
Before we dive in, here are links to the products used in this article.
– Raspberry Pi 5 16gb: https://t4g.link/raspberrypi
– 128gb MicroSD Card: https://t4g.link/128gbmsd
– Argon ONE V5 Case: https://t4g.link/argonv5
– USB C Card Reader: https://t4g.link/usbccr
🎥 Video Overview
Understanding the Tools: CasaOS and Tailscale
Before diving into the installation, it’s crucial to understand what these tools bring to the table. CasaOS provides an intuitive interface to manage your Raspberry Pi with ease, complete with an app store packed with useful utilities. However, it’s worth noting that development for CasaOS has ceased, with efforts shifting towards Zema OS. Despite this, CasaOS remains a stable and beloved choice for many enthusiasts.
On the other hand, Tailscale sets up a secure and private VPN environment by creating secure, peer-to-peer connections among your devices. It’s perfect for avoiding the risks associated with traditional VPN setups that require exposing router ports to the internet.
Preparing Your Raspberry Pi
To begin, ensure your Raspberry Pi is set up and connected to the internet. Ideally, you should be using a model with sufficient RAM, such as the 8GB variant, to ensure smooth performance.
Installing Docker
Before we can proceed with CasaOS, Docker must be installed on your Raspberry Pi. You can find a detailed installation guide in a previous article. Docker serves as a container management service required for both CasaOS and Tailscale installations.
Installing CasaOS
- Open a Terminal Session: Start by logging into your Raspberry Pi via SSH.
- Run the Installation Command: Previously, CasaOS automatically installed Docker, but this has changed since Docker’s update. Ensure Docker is pre-installed before running the following command:
curl -fsSL https://get.casaos.io | sudo bash- Access CasaOS Interface: After installation, access the interface through the provided local IP address and port. Set your username and password to begin managing your Raspberry Pi with CasaOS.
Handling Docker Container Conflicts
When using CasaOS with pre-existing Docker containers, be mindful of compatibility issues. CasaOS might attempt to tweak these containers for integration into its dashboard, potentially altering configurations.
Setting Up Tailscale
Tailscale Installation Overview
Tailscale will be set up using a Docker container. It facilitates creating secure networks across devices without exposing your internal network.
- Docker Compose Configuration: Tailscale is installed using a Docker Compose file that defines how Docker containers are built and run.
- Authentication Key Creation: Create an authentication key via the Tailscale website following these steps:
- Go to “Settings” -> “Keys” on Tailscale’s site.
- Generate a reusable auth key corresponding to your Raspberry Pi setup.
version: '3'
services:
tailscale:
image: tailscale/tailscale:latest
container_name: tailscaled
restart: unless-stopped
network_mode: host
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- /var/lib/tailscale:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
environment:
- TS_AUTHKEY=tskey-auth-ab1CDE2CNTRL-0123456789abcdef
- TS_ACCEPT_DNS=true # Optional: accepts DNS configuration from the admin console
- Running Docker Compose: Use SSH to run the command
docker compose up -dafter saving your Docker Compose configuration, ensuring your containers are active and functioning.
Verifying Tailscale and CasaOS Status
Access the Portainer dashboard or respective command-line interfaces to verify the status of your Docker containers, ensuring both Tailscale and CasaOS are running perfectly.
Real-Time Use Cases and Benefits of Tailscale
- Home Network Security: With Tailscale, establish a VPN that keeps your personal network secure from vulnerabilities traditionally encountered with port forwarding.
- Remote Access and Off-Site Backups: Leverage Tailscale’s secure connections to facilitate off-site data backups or to access your home network remotely, replicating a local connection.
Join the HAVOK Community
Exploring CasaOS and Tailscale offers immense potential for enhancing your Raspberry Pi’s capabilities. Whether you aim to secure your network or harness the power of a robust operating system UI, these installations provide a solid foundation. Dive deeper into these tools by joining the community on our HAVOK Discord Server: https://havok.link/discord-wp. Stay connected, share your projects, and keep innovating in this exciting technology landscape.
*If you buy something through any of the links featured in this article I may get a small share of the sale.

