I use Tailscale, but I’m amazed that the size of the ZeroTier app is 2.6 MB versus 23MB for Tailscale.
How come ZeroTier is 10X smaller?
Tailscale uses Go https://tailscale.com/security#tailscale-is-written-in-go which might explain the larger sizes.
A cursory look through https://github.com/zerotier/ZeroTierOne shows more C++ and some Rust. Not sure how much static linking is involved here.
I usually just use zerotier for this, it's extremely lightweight