Skip to content

Instantly share code, notes, and snippets.

@seripap
Last active August 15, 2023 14:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seripap/448757b042912eaa205ad7009148febd to your computer and use it in GitHub Desktop.
Save seripap/448757b042912eaa205ad7009148febd to your computer and use it in GitHub Desktop.
AWS Install and Configure Tailscale

One stop shop to install Tailscale on AWS Linux Distros.

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/seripap/448757b042912eaa205ad7009148febd/raw/install.sh)"

Quick start

sudo tailscale up

Start relaying routes

sudo tailscale up --advertise-routes=
#!/bin/bash
set -u
sudo yum update gnupg2
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://pkgs.tailscale.com/stable/amazon-linux/2/tailscale.repo
sudo yum install tailscale
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment