Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zulhfreelancer/f545b6f77aa6f287d06ffa09ab1e1779 to your computer and use it in GitHub Desktop.
Save zulhfreelancer/f545b6f77aa6f287d06ffa09ab1e1779 to your computer and use it in GitHub Desktop.
How to install Tailscale Mesh VPN on Raspberry Pi
#!/bin/bash
# Step 1 - Install Tailscale
sudo apt-get install apt-transport-https && \
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.gpg | sudo apt-key add - && \
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.list | sudo tee /etc/apt/sources.list.d/tailscale.list && \
sudo apt-get update && \
sudo apt-get install -y tailscale && \
sudo tailscale up
# Step 2 - Use link from last command above to login to Tailscale
# Step 3 - Refresh Tailscale dashboard
# Step 4 - Disable key expiry for the RPi
# Step 5 - (Optional) Get your RPi IP address
tailscale ip -4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment