Live data from Hacker News

How Tailscale Works

tailscale.com

11–20 of 82 posts

Re: How Tailscale Works

#11
post #6
post #5

Earlier quoted context omitted.

That is only the linux client?

Tailscale co-founder here: that's the guts of all the clients. (It almost works on macOS too as is, just a little more work to do.) We are still open sourcing our code, there's more to come but we haven't found the time to clean it up and get it ready to release. Soon hopefully!

Is the client the important part of the software, or is there a server side?

Re: How Tailscale Works

#12
post #6

Earlier quoted context omitted.

Tailscale co-founder here: that's the guts of all the clients. (It almost works on macOS too as is, just a little more work to do.) We are still open sourcing our code, there's more to come but we haven't found the time to clean it up and get it ready to release. Soon hopefully!

Is the client the important part of the software, or is there a server side?

The client contains our most sophisticated code. It's also the most important from a trust perspective, it is responsible for securing your data, our servers cannot see anything of yours because of the client. So it's vital the important parts of it are open source.

That said, I'd like to open source a server. We need a reference implementation of our control protocol so it can be properly analyzed by security experts. Not sure what form that should take yet, but I'd like it to be usable.

Re: How Tailscale Works

#14
post #6
post #5

Earlier quoted context omitted.

That is only the linux client?

Tailscale co-founder here: that's the guts of all the clients. (It almost works on macOS too as is, just a little more work to do.) We are still open sourcing our code, there's more to come but we haven't found the time to clean it up and get it ready to release. Soon hopefully!

What license schemes etc? Also how do you integrate with IdPs? Are you a SAML service provider? If so where is the documentation for it?

Re: How Tailscale Works

#15
post #7

Is there any page that describes how to actually get VPN work end to end with tailscale? I am a newbie and would like to understand.

Install the client on two devices and log in with a Gmail account. That's it. They'll be assigned IPs and can reach each other. (I'm a co-founder of Tailscale.)

That's really cool. Thank you.

Re: How Tailscale Works

#17
It's not clear from the docs. Can a two node Tailscale setup connect to each other when both sides are behind a IPv4 only CGNAT(Verizon/AT&T LTE)?

There is mention of STUN, but CGNAT is a whole new level of ugly and there is often NAT behind the CGNAT.

If not, do nodes that can get incoming connections become relay "super nodes?"

Re: How Tailscale Works

#18

It's not clear from the docs. Can a two node Tailscale setup connect to each other when both sides are behind a IPv4 only CGNAT(Verizon/AT&T LTE)? There is mention of STUN, but CGNAT is a whole new level of ugly and there is often NAT behind the CGNAT. If not, do nodes that can get incoming connections become relay "super nodes?"

(Article author here.) Yes, this is what DERP is for. Nowadays automatically designating nodes as supernodes doesn’t work as well as it used to, since many devices are battery constrained and cloud devices tend to have metered bandwidth. We might someday have a way to add your own DERP relays for your domain (since the DERP code is open source anyway). The tricky part is guaranteeing reliable delivery in that case.

Re: How Tailscale Works

#19

It's not clear from the docs. Can a two node Tailscale setup connect to each other when both sides are behind a IPv4 only CGNAT(Verizon/AT&T LTE)? There is mention of STUN, but CGNAT is a whole new level of ugly and there is often NAT behind the CGNAT. If not, do nodes that can get incoming connections become relay "super nodes?"

Also VERY interested in this, and the impending Android client status. Some of us are fully on mobile LTE data.

Re: How Tailscale Works

#20
It sounds like these guys have done their homework (from a distributed systems PoV, I don’t know much about the security side).

IIUC it’s an application of one of my favorite design patterns: “this part needs CP, the rest is more flexible”.

It’s remarkable how far this gadget can take you.

Post reply on HN