Skip to content

Instantly share code, notes, and snippets.

@ericrowan
Forked from hkfuertes/openwrt_tailscale_updated.md
Last active November 20, 2024 01:01
Show Gist options
  • Save ericrowan/f2b2810905d1a753b4402c4fc090e20f to your computer and use it in GitHub Desktop.
Save ericrowan/f2b2810905d1a753b4402c4fc090e20f to your computer and use it in GitHub Desktop.
Guide to install latest version of tailscale on OpenWRT

Prerequisites

Tailscale is a heavy program, you most likely need to configure ex_root to be able to install it.

https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

Installation

  • Install with Frontend:
      VERSION=1.1.3 # Version as of Nov 19 2024
      ARCH=arm # Use `uname -m` to figure out the arch: https://pkgs.tailscale.com/stable/#static
      TSVERSION=1.76.6
      wget -O luci-app-tailscale.ipk https://github.com/asvow/luci-app-tailscale/releases/download/v${VERSION}/luci-app-tailscale_${VERSION}_all.ipk
      opkg update
      opkg install ./luci-app-tailscale.ipk
      service tailscale stop
      cd /tmp
      wget https://pkgs.tailscale.com/stable/tailscale_${TSVERSION}_${ARCH}.tgz
      tar -xvzf tailscale_${TSVERSION}_${ARCH}.tgz
      cp tailscale_${TSVERSION}_${ARCH}/tailscale /usr/sbin/tailscale
      cp tailscale_${TSVERSION}_${ARCH}/tailscaled /usr/sbin/tailscaled
      service tailscale start
      reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment