Skip to content

threecommaio/tailscale-udm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailscale on Unifi Dream Machine

This repo contains the scripts necessary to install and run a tailscale instance on your Unifi Dream Machine (UDM/UDM Pro). It does so by piggy-backing on the excellent boostchicken/udm-utilities to provide a persistent service and runs using Tailscale's usermode networking feature.

Instructions

Install Tailscale

  1. Follow the steps to install the boostchicken on-boot-script here.

  2. Run the install.sh script to install tailscale and the startup script on your UDM.

    curl -sSL https://raw.github.com/SierraSoftworks/tailscale-udm/master/install.sh | sh
  3. Follow the on-screen steps to configure tailscale and connect it to your network.

  4. Confirm that tailscale is working by running /mnt/data/tailscale/tailscale status

Upgrade Tailscale

Upgrading can be done by running the upgrade script below.

/mnt/data/tailscale/upgrade.sh 1.12.3

Remove Tailscale

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

curl -sSL https://raw.githubusercontent.com/SierraSoftworks/tailscale-udm/main/uninstall.sh | sh
  1. Kill the tailscaled daemon.

    ps | grep tailscaled
    kill <PID>
  2. Remove the boot script using rm /mnt/data/on_boot.d/10-tailscaled.sh

  3. Have tailscale cleanup after itself using /mnt/data/tailscale/tailscaled --cleanup.

  4. Remove the tailscale binaries and state using rm -Rf /mnt/data/tailscale.

Contributing

There are clearly lots of folks who are interested in running Tailscale on their UDMs. If you're one of those people and have an idea for how this can be improved, please create a PR and we'll be more than happy to incorporate the changes.

About

Run Tailscale on your Unifi Dream Machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%