5 ms·
I love Tailscale, but this post gives me the creeps. The internet succeeded because it was built on standards and was completely free. With Tailscale, I get wir
by figassis 2y ago
I love Tailscale, but this post gives me the creeps. The internet succeeded because it was built on standards and was completely free. With Tailscale, I get wireguard is open source and we have things like Headscale. But the whole everyone gets an IP, doesn’t it depend on Tailscale owning a massive ip address space? We can all wait until full ipv6 rollout, or we can depend on centralized ipv4, and servers and proprietary stuff. Maybe a bit hypocritical?
- yegle 2y ago100.64.0.0/10 is a reserved IP block for carrier-grade NAT.
- metadat 2y agoMore info about Carrier-Grade NAT (for others who, like me, are only encountering this term for the time): https://en.wikipedia.org/wiki/Carrier-grade_NAT https://en.wikipedia.org/wiki/Carrier-grade_NAT Can anyone elighten me regarding what is different or special about 100.64.0.0/10 vs say, 192.168.0.0 or 10.0.0.0. Edit: Answered my own question by digging into more wikis, there is a helpful table of reservations and intentions here: https://en.wikipedia.org/wiki/Reserved_IP_addresses https://en.wikipedia.org/wiki/Reserved_IP_addresses
- throw0101d 2y ago> Can anyone elighten me regarding what is different or special about 100.64.0.0/10 vs say, 192.168.0.0 or 10.0.0.0. A bit of context: if an ISP cannot get enough IPv4 addresses for the WAN-side of people's home routers, some problems exist: * something in 192.168/16 is generally used for the LAN-side of people's home routers, so that cannot be used on the WAN side * 10/8 is used for business/enterprise corporate networks, so it also cannot be used on the WAN side because if people VPN connect to the corporate, then the router may get confused * similarly for 172.12/12: often used for corporate networks So the IETF/IANA set aside 100.64.0.0/10 as it had no 'legacy' of use anywhere else, and is specifically called out to only be used for ISPs for CG-NAT purposes. This way its routing does not clash with any other use (home or corporate/business). IPv4 address space is nearly exhausted. However, ISPs must continue to support IPv4 growth until IPv6 is fully deployed. To that end, many ISPs will deploy a Carrier-Grade NAT (CGN) device, such as that described in [RFC6264]. Because CGNs are used on networks where public address space is expected, and currently available private address space causes operational issues when used in this context, ISPs require a new IPv4 /10 address block. This address block will be called the "Shared Address Space" and will be used to number the interfaces that connect CGN devices to Customer Premises Equipment (CPE). * https://www.rfc-editor.org/rfc/rfc6598.html https://www.rfc-editor.org/rfc/rfc6598.html
- metadat 2y agoInteresting, I thought docker uses 172.*.
- deleted 2y ago[deleted]
- yjftsjthsd-h 2y agoIt does; 172.16.0.0/12 is just another RFC1918 internal subnet. Edit: I should say, a subnet that docker carves smaller subnets out of for its networks.
- throw0101d 2y agoYes, 172.18/16 by default. And that actually was a problem at a previous job I was at: when COVID hit our VPN address range just happened to be set to be in that range, and so a bunch of developers were having issues. (IIRC, we re-configured the VPN appliance to use something else.)
- 9dev 2y ago…and it’s a perfect display of the technical competence of Docker Inc. :) they do stuff like that, in all kinds of domains, all the time.
- jgalt212 2y agoIf you had to move off of tailscale, what would you move to?
- OJFord 2y agoZerotier is I think the obvious answer? I haven't used it though; it's more proprietary, not less.
- ssl-3 2y agoAFAIK, Zerotier is about equally proprietary, more-free (as in beer), and has been doing the node-to-node mesh thing instead of spoke-and-hub longer than Tailscale has been in existence. And if I remember correctly, ZT was initially created to provide something like this "New Internet" concept that Tailscale has apparently recently discovered, except they called it "Earth" and abandoned it in 2023. (Some things don't change, I guess.)
- p_l 2y agoTailscale does p2p, not hub-spoke, with additional DERP system which combines various NAT bypasses with worst case hair pinning over HTTPS - you can host all components yourself.
- ssl-3 2y agoYou're absolutely correct. I didn't intend to leave to implication the fact that Tailscale is node-to-node, or that it is is not hub-and-spoke. (I even had this up in a browser tab when I wrote that previous comment: https://tailscale.com/blog/how-tailscale-works https://tailscale.com/blog/how-tailscale-works)
- viraptor 2y agoKinda? It works great in practice. You can run your own controllers if you want which completely disconnects you from the proprietary service. But the code is BSL.
- jmprspret 2y agoYou can self-host a Tailscale control sever with Headscale[1]. It's not quite at feature parity with Tailscale, but it supports most if not all the current feature set and its improving every day. One of the lead devs is even paid by Tailscale to work on it, IIRC. I run it for my personal self-hosted infra, and it works really well. Setting a custom control server URL is relatively easy (at least on Windows and Android which I use). I use taildrop, I serve docker containers to the tailnet, etc. headscale works really well and is worth a go. 1: https://github.com/juanfont/headscale https://github.com/juanfont/headscale
- cpach 2y agoCool! Any important features you miss when running Headscale?
- jmprspret 2y agoNothing that I've noticed. I actually have never run vanilla Tailscale without Headscale so I'm not sure. I think auto TLS requires some extra config, and DNS rules. I don't use it so I'm not sure.
- p_l 2y agoMostly support for features relevant to multi tenancy - official tailscale stuff does things like separate "tailnets" that belong to different accounts which have different SSO, but you can share access to hosts between tailnets with ACL rules, etc. Also tailscale funnel which uses tailscale-hosted service to provide ingress to host behind VPN. And of course the API used to manage the official server, so the rare things that depend on it won't work, but it's more a case that the project doesn't have the need to work on it
- mrbluecoat 2y agoDoH DNS support (beyond the single existing NextDNS option)
- password4321 2y agoThe question is: how long will Headscale be supported in the official clients - how long will the incentives of Tailscale's VC's align with the freeloaders? The official clients (most valuable: the polished mobile apps easily installed from the default app stores) are one auto-update away from cutting ties when push comes to shove, the same as all commercial VPNs with a free tier.
- linsomniac 2y ago>But the whole everyone gets an IP, doesn’t it depend on Tailscale owning a massive ip address space? No, because Tailscale isn't "the Internet", it is a bunch of disconnected moats. The IP space needed by Tailscale only has to be as big as the largest moat. And you can only be connected to a single moat at a time.