Skip to content

Instantly share code, notes, and snippets.

@tanb
Created November 1, 2023 10:58
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 tanb/6b27538e3d3e5d04a968c061adb401f0 to your computer and use it in GitHub Desktop.
Save tanb/6b27538e3d3e5d04a968c061adb401f0 to your computer and use it in GitHub Desktop.
setup tailscale amazon linux 2
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
sudo systemctl enable --now tailscaled
sudo tailscale up
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
sudo tailscale up --advertise-exit-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment