This is a continuation of the forum post Side Toggle Switch for Tailscale Exit Node - #10 by dstnmrgn , since that post is closed I can’t post a reply, I opened this new one.
I took the great work of @dstnmrgn and packaged it in a simpler one line installer/uninstaller script which I tested on both a Beryl AX and Slate 7 device, the two devices I have.
It’s working well for me and the switch works as expected by enabling/disabling the selected Exit Node on the Tailscale setup, on the UI you will always see the Exit Node Selected, but it will route through it or not depending on the toggle switch position of on/off.
If there is no Exit Node selected the switch will have no effect and does not interfere with other functionality native to the firmware.
You can find the script here:
Again it works for me, but I can’t guarantee it will work on all setups, mine are pretty basic no extra plugins, pretty much stock setup.
I hope this helps someone out there.