Wush was already doing something similar (using tailscale under the hood)

https://github.com/coder/wush