Tailscale version 1.32.3
Your operating system & version OpenWRT 22.03.2
I’m trying to bring Tailscale up on an OpenWRT router - it used to work, but stopped and now I can’t get it to come up at all.
I installed tailscale and iptables-nft via opkg. I have tried uninstalling and reinstalling both with no change. When I do tailscale up it returns without any message, but tailscale status says:
# Health check:
# - router: multiple errors:
6 add route failures; first was: network is down
adding [-m mark --mark 0x40000/0xff0000 -j MASQUERADE] in v4/nat/ts-postrouting: running [/usr/sbin/iptables -t nat -A ts-postrouting -m mark --mark 0x40000/0xff0000 -j MASQUERADE --wait]: exit status 2: iptables v1.8.7 (nf_tables): Chain 'MASQUERADE' does not exist
Any ideas on how to fix this? I have it working fine on a different OpenWRT router, and it used to work on this one.
I have managed to get it working by using the install procedure from here. I can now access the router via tailscale but trying to access other devices on the subnet fails.
This appears to be caused by tailscale using iptables instead of nftables. 22.03.0 is the first version to use nftables natively. You can also validate this by looking for a banner at the top of https://router/cgi-bin/luci/admin/status/nftables