Created
March 4, 2022 04:12
-
-
Save zulhfreelancer/f545b6f77aa6f287d06ffa09ab1e1779 to your computer and use it in GitHub Desktop.
How to install Tailscale Mesh VPN on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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