Tailscale installation failed to run!

Powered by LuCI openwrt-22.03 branch (git-22.245.77528-487e58a) / OpenWrt 22.03.0 r19685-512e76967f

tailscale	1.24.2-1	3.4 MB	It creates a secure network between your servers, computers,…
tailscaled	1.24.2-1	5.8 MB	It creates a secure network between your servers, computers,…

Executing package manager
Installing tailscale (1.24.2-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/aarch64_cortex-a53/packages/tailscale_1.24.2-1_aarch64_cortex-a53.ipk
Installing tailscaled (1.24.2-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/aarch64_cortex-a53/packages/tailscaled_1.24.2-1_aarch64_cortex-a53.ipk
Configuring tailscaled.
Configuring tailscale.

Errors
2022/09/24 18:50:21 logtail started
2022/09/24 18:50:21 Program starting: v1.24.2-dev-t, Go 1.18.4: []string{"/usr/sbin/tailscaled", "--cleanup"}
2022/09/24 18:50:21 LogID: 6b6ad97b3bb74a52d7447bc10786142d2ad8b7094d6f823499a14377783e398a
2022/09/24 18:50:21 logpolicy: using system state directory "/var/lib/tailscale"
2022/09/24 18:50:21 dns: [rc=unknown ret=direct]
2022/09/24 18:50:21 dns: using *dns.directManager
2022/09/24 18:50:21 flushing log.
2022/09/24 18:50:21 logger closing down

root@OpenWrt:~# tailscaled
logtail started
Program starting: v1.24.2-dev-t, Go 1.18.4: []string{"tailscaled"}
LogID: 6b6ad97b3bb74a52d7447bc10786142d2ad8b7094d6f823499a14377783e398a
logpolicy: using system state directory "/var/lib/tailscale"
wgengine.NewUserspaceEngine(tun "tailscale0") ...
wgengine.NewUserspaceEngine(tun "tailscale0") error: creating router: exec: "iptables": executable file not found in $PATH
flushing log.
logger closing down
createEngine: creating router: exec: "iptables": executable file not found in $PATH
root@OpenWrt:~#

Switch to FW4 (nft), check thread for another option?

I was able to fix this error by installing the package iptables-nft. I think this should be added as a dependency to the openwrt package.
Regardless, there are still some bugs from the tailscale team https://github.com/tailscale/tailscale/issues/4086#issuecomment-1243552689.

follow this guide for installing tailscale. It fixes the issues with 22.03 and nft tables.

1 Like