Installation
Linux
curl -fsSL https://tailscale.com/install.sh | sh# Enable IP forwarding
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
sudo sysctl -p /etc/sysctl.d/99-tailscale.confWindows
Usage
#
arguments=(
--ssh # Enable Tailscale SSH
--advertise-exit-node # Allow node to route route here
)
tailscale up "${arguments[@]}"# Enable HTTPS
tailscale cert <domain>