3 ms·
You don't actually need tsnet for that. tailscale cli itself running the subcommand serve will allow you to share a specific port on your machine either with yo
by gabeio 2y ago
You don't actually need tsnet for that. tailscale cli itself running the subcommand serve will allow you to share a specific port on your machine either with your tailnet or use funnel and share it out to the internet.
I pulled tsnet out of my go application and switched entirely to `tailscale serve` and just use the header that adds to auth my family into apps I write. I love it.
- tsujamin 2y agofunnel and serve are also awesome, but in this case the use case necessitated a single binary that worked without the full package installed/didn’t touch the routing table or tun device
- gabeio 2y agoAh if you truly need a single binary, yes it is nice. I had some issues with builds every once in a while, which is another reason I switched to using tailscale serve instead.