Skip to content

Instantly share code, notes, and snippets.

@frgomes
Created October 3, 2025 10:35
Show Gist options
  • Save frgomes/d5a7332ae2f7427d6303c13d7dfa5483 to your computer and use it in GitHub Desktop.
Save frgomes/d5a7332ae2f7427d6303c13d7dfa5483 to your computer and use it in GitHub Desktop.
linux :: install and configure tailscale
#!/bin/bash
cat << EOD > /etc/sysctl.d/99-tailscale.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
EOD
systemctl restart sysctl
sudo systemctl start sysctl
tailscale up --advertise-exit-node --accept-routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment