APK Installation (OpenWrt 25.12+)
This guide is for OpenWrt 25.12 or later, which uses the APK package manager.
If you have an older version, go to OPKG Installation.
Step 1: Download the public key
Add the repository public key to the trusted keyring:
Run the following command on your OpenWrt device:
sh
wget -O /etc/apk/keys/gunanovo@github.io.pub \
https://gunanovo.github.io/openwrt-tailscale/key-build.rsa.pubOr manually download the public key file to /etc/apk/keys/ on your OpenWrt device.
Step 2: Add the repository
Add the repository to your OpenWrt configuration:
Run the following command on your OpenWrt device:
sh
echo "https://gunanovo.github.io/openwrt-tailscale/$(cat /etc/apk/arch)/packages.adb" \
>> /etc/apk/repositories.d/customfeeds.listOr manually edit /etc/apk/repositories.d/customfeeds.list and add the following:
https://gunanovo.github.io/openwrt-tailscale/{your-device-architecture}/packages.adbReplace {your-device-architecture} with your device architecture. Use cat /etc/apk/arch to find it.
Step 3: Install Tailscale
Choose your preferred method to install Tailscale:
Command line:
sh
# Update package lists
apk update
# Install tailscale
apk add tailscaleWeb UI:
- Go to System → Software;
- Click Update lists to refresh packages;
- Search for "tailscale";
- Install "tailscale";
NOTE
The "failed log upload" message during installation is expected and can be safely ignored.
Done. Now configure Tailscale: