Skip to content

Instantly share code, notes, and snippets.

@mauvehed
Last active February 7, 2023 15:45
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 mauvehed/daffc07bafacefc6717f0ee8c5bc53b0 to your computer and use it in GitHub Desktop.
Save mauvehed/daffc07bafacefc6717f0ee8c5bc53b0 to your computer and use it in GitHub Desktop.
Tailscale Documentation and Links

Tailscale

CLI Commands

Exit Nodes

Subnet Routers

Private DNS

HTTPS Certs

Tailscale SSH

DevSecOps

Code from iPad

GitOps ACLs

Synology Outbound

Unifi UDM Pro

CLI commands: /mnt/data/tailscale/tailscale status

/mnt/data/tailscale/tailscale up

/mnt/data/tailscale/tailscale up --advertise-routes=192.168.12.0/24 --advertise-exit-node --advertise-tags=tag:mvh

Restarting Tailscale

The manage.sh script takes care of installing, starting, stopping, updating, and uninstalling Tailscale. Run it without any arguments to see the options.

/data/tailscale/manage.sh restart

Upgrading Tailscale

/mnt/data/tailscale/manage.sh update

# Or, if you are connected over Tailscale and want to run the update anyway
nohup /mnt/data/tailscale/manage.sh update!

Remove Tailscale

To remove Tailscale, you can run the following command, or run the steps below manually.

/mnt/data/tailscale/manage.sh uninstall
Manual Steps
  1. Kill the tailscaled daemon with systemctl stop tailscaled.
  2. Remove the tailscale package using dpkg -P tailscale.
  3. Remove the management script and state using rm -Rf /data/tailscale.

Pi-hole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment