opkg update
opkg add tailscale
tailscale up
uci add firewall zone
uci set firewall.@zone[-1].name='tailscale'
uci set firewall.@zone[-1].input='ACCEPT'
uci set firewall.@zone[-1].output='ACCEPT'
uci set firewall.@zone[-1].forward='ACCEPT'
uci set firewall.@zone[-1].network='tailscale'
uci commit firewall
/etc/init.d/firewall restart
uci set network.tailscale=interface
uci set network.tailscale.proto='none'
uci set network.tailscale.device='tailscale0'
uci commit network
/etc/init.d/network restart
/etc/init.d/tailscale restart
ip addr show tailscale0
Key is in Bitwarden.
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up --auth-key=tskey-abcdef1432341818