Created
November 1, 2023 10:58
-
-
Save tanb/6b27538e3d3e5d04a968c061adb401f0 to your computer and use it in GitHub Desktop.
setup tailscale amazon linux 2
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
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