Comment on PSA: Update your Tailscale!

<- View Parent
lemmyvore@feddit.nl ⁨5⁩ ⁨days⁩ ago

Wireguard may be more obviously public, but they both technically are, right? Otherwise accessing a node just wouldn’t be possible.

There is something exposed to the Internet in both cases, yes, but it works very differently.

With WG it’s a client-server pattern; the server exposes a port, waits for authorized clients to connect, and when a client connects successfully the server routes their connections into the private LAN with everything that entails.

With TS the public part is a supplier of control configurations and client pairing service. The pairing service needs to be contacted by two authorized clients in order to negotiate a connection between them. Once that’s done, it’s the clients that route each other’s connections into their respective LANs, the pairing server is not involved anymore.

In other words the TS public surface is not WG, it’s their (proprietary) client verification and matching service. The WG connections between clients happen later, privately.

To me, separating client authentication from routing and transport looks like a better design, because it’s multi-layered. You get the normal WG authentication and another layer on top.

If you don’t need something specific that tailscale offers, then wireguard offers probably better security.

“Security” is a relative term. It’s better to think in terms of attack surface, exposure, whether attacks are targeted or not etc. Which are all ongoing factors.

Both TS and WG are popular and being used by lots of people but it’s also important for them to be actively maintained, independently audited, maintain transparency etc.

original
Sort:hotnewtop