Configure a Lan Turtle from Hak5 with SD card to work with Tailscale (https://hak5.org/products/lan-turtle)
Kind of a port from here: https://github.com/adyanth/openwrt-tailscale-enabler just some parts I couldn't get working so I did a bit of a mix-n-match.
- Follow these steps for setting up the Lan Turtle https://docs.hak5.org/lan-turtle/lan-turtle-by-hak5/
- Make sure you're running the latest firmware which is 6.2 from 2019 -> https://downloads.hak5.org/turtle/mk1
- Make sure you have the recovery firmware on hand in case you sort of brick this thing like I did multiple times (https://downloads.hak5.org/api/devices/lanturtle/firmwares/recovery)
- Finally, the Lan Turtle should be connected to the internet for this (I think that goes without saying)
cd /sdwget https://pkgs.tailscale.com/stable/tailscale_1.96.4_mips.tgzgunzip tailscale_1.96.4_mips.tgz && tar -xvf tailscale_1.96.4_mips.tar- Before we do anything else let's update the packages and download some dependencies
opkg updateopkg install libustream-openssl ca-bundle kmod-tun
ln -s /sd/tailscale_1.96.4_mips/tailscale /usr/bin/tailscale(symbolic link since there isn’t any real room outside of /sd to store these files)ln -s /sd/tailscale_1.96.4_mips/tailscaled /usr/bin/tailscaledtailscaled --state=/sd/tailscaled.state &tailscale upit will provide a login link like sohttps://login.tailscale.com/a/dasjdhaksda398authenticate to your tailnet, approve the device if you have that setting enabled, and remove key expiry or we will lose access to the device after x days- create this file in /etc/init.d/tailscale (Allows tailscale to start on boot and all that good stuff we need)
chmod +x /etc/init.d/tailscale/etc/init.d/tailscale start/etc/init.d/tailscale enablels /etc/rc.d/S*tailscale*-> you should see something like/etc/rc.d/S99tailscale