Tailscale Integration
Tailscale provides secure, zero-config VPN access to your articwake instance from anywhere.
Why Tailscale?
Section titled “Why Tailscale?”- Secure by default: All traffic is encrypted end-to-end
- No port forwarding: Works behind NAT and firewalls
- Stable IPs: Tailscale IPs don’t change
- Easy setup: Just one auth key
1. Get an auth key
Section titled “1. Get an auth key”- Go to Tailscale Admin Console
- Generate a new auth key
- Copy the key (starts with
tskey-auth-)
2. Add to SD card
Section titled “2. Add to SD card”Create tailscale_authkey in /boot/articwake/:
echo "tskey-auth-xxxxx" | sudo tee /mnt/articwake/tailscale_authkey3. Boot the Pi
Section titled “3. Boot the Pi”On first boot, the setup script will:
- Install Tailscale
- Authenticate with your key
- Join your Tailscale network
Accessing articwake
Section titled “Accessing articwake”After setup, access the web UI via:
http://<tailscale-hostname>Find the hostname with:
tailscale statusUsing Tailscale IP for Homelab
Section titled “Using Tailscale IP for Homelab”For the most reliable setup, use your homelab’s Tailscale IP in config.env:
ARTICWAKE_HOMELAB_IP="100.x.y.z"This ensures articwake can reach your server even if local network conditions change.
Key Types
Section titled “Key Types”Tailscale offers different key types:
| Key Type | Expiry | Use Case |
|---|---|---|
| One-off | After first use | Single device setup |
| Reusable | Configurable | Multiple devices or reinstalls |
| Ephemeral | Never | Containers, short-lived VMs |
For articwake, a one-off key is usually sufficient.
Troubleshooting
Section titled “Troubleshooting”Tailscale not connecting
Section titled “Tailscale not connecting”Check the setup log:
ssh root@<local-ip>cat /var/log/articwake-setup.log | grep -i tailscaleManually starting Tailscale
Section titled “Manually starting Tailscale”tailscale up --authkey=tskey-auth-xxxxxChecking status
Section titled “Checking status”tailscale statusRe-authenticating
Section titled “Re-authenticating”If your key expires or you need to re-auth:
tailscale logouttailscale up --authkey=<new-key>Security Considerations
Section titled “Security Considerations”- Tailscale traffic is encrypted end-to-end
- Only devices on your Tailscale network can access articwake
- Consider using Tailscale ACLs for additional restrictions
- The auth key is deleted after first boot for security