10 ms·
Taildrop was kind of easy
- vxNsr 5y agoSeems like a great service if you’re already using tailscale.
- wrs 5y agoIndeed, the article did a good job of making me wonder how long it’ll be before we’re all using Tailscale.
- maddyboo 5y agoSeriously, give it a shot if you haven’t already. It’s dead simple to install and “just works.”
- brainbag 5y agoWhat problems does it solve? Is it just a "shared network" VPN? The web site says what it is but not why.
- alisonkisk 5y agoIt gives you access to your machines from across the Internet.
- dsyrk 5y agoIt seems to basically be tinc but “modernized”
- encryptluks2 5y agoWhat about printers/scanners? Can it make your entire LAN available over a single device?
- dave_universetf 5y agoIt can, see https://tailscale.com/kb/1019/subnets/ https://tailscale.com/kb/1019/subnets/ . There's more work for us to do for more "automagic" behavior. For example, I want my home desktop to offer proxying to my printer without having to set up a full-fat subnet router.
- encryptluks2 5y agoThat's awesome. That would have been the only thing stopping me from trying it out.
- solipsism 5y agoThat's what it is not why. For most people the response to this will be "why would I want to do that?" There may be good reasons. But they'll need to be explicitly spelled out for most users.
- skybrian 5y agoIt sounds like you'd want it if you have machines on your local network that you want to use when you're not at home. (Or you have some other machines somewhere else.) If you just have mobile devices and always take them with you, or don't care about accessing a desktop computer when you're away, it's maybe not that interesting?
- gravypod 5y agoIt's BeyondCorp done at a network layer. You have cryptographic trust that traffic from specific IP ranges are specific people, you get a flat network topology for your infra/team/etc, and it works in the most hostile network environments. The tailscale team has gone through great lengths to handle a lot of edge cases and hacks in the infrastructure at many corporate networks.
- Wintereise 5y agoWhat does it do that Zerotier doesn't already? I've been using that for a few years now, works flawlessly.
- atonse 5y agoThat you can get it up and running in 5 minutes. No joke, I did it one day before jumping into the car to go to the park to work on a day with nice weather. It let me SSH back into my Mac Mini to compile elixir and run VS Code Remote and not kill my battery, but still have zero latency UIs over cellular tethering. I tried Zerotier a few years ago and maybe I just did something wrong but I couldn't get it working for an hour and gave up.
- viraptor 5y agoNot sure if 5 years ago it was much different, but I've been using it for ~3 years and the process is trivial. Setup your account, install client, join your network, click "auth" on the website by the new client. It just works.
- jbverschoor 5y agoWas the same 5 years ago
- jbverschoor 5y agowhat do you mean. zerotier is literally just running, creating a network in the dashboard and allowing your machines
- jbverschoor 5y agoAlso, zerotier supports non-IP protocols. IPX for example which is pretty cool.
- Wintereise 5y agoI'm not sure where it went wrong for you, but I had Zerotier up in 5 minutes as well. Basically sign up for account -> install -> allow to join network in Dashboard. That was it.
- jbverschoor 5y agoI actually use both. Here are my observations: - Tailscale is an IPv4 vpn. Zerotier is a virtual ethernet switch. - Tailscale does not do ipv6, ipx, or any other protocol. Zerotier doe. - Zerotier supports multiple networks. Tailscale only has 1 network per account. So it's not possible to be connected to WORK1, WORK2, HOME at the same time. - Zerotier handles broadcast / multicast perfectly. - Tailscale uses wireguard, whichs means it's probably going to be more compatible - Tailscale forces SSO on certain domains (for example gmail). I really don't like being forced to use this. It's nice to have the option, but usually they require too much information. - Tailscale uses login credentials to link machines, vs using machine keys in zerotier. I prefer zerotier's method, as I really don't want do the whole login flow all machines. - Tailscale by default expires the sessions after X amount of time. Super annoying when you discover things are not working, because you didn't change a setting somewhere - On mac, tailscale uses a VPN tunnel. Zerotier creates a virtual interface. I prefer zerotier's method. - Because of this, tailscale is available via the appstore (mac). I like that. Both are available on the ios app store - Both have some sort of SDN language / configuration. - Tailscale is only an ACL type config, which is good enough for most - Zerotier's is more extensive, and allows cool things such as redirecting packets to a different machine for inspection. Great for security monitoring and other stuff. - Tailscale comes with a built-in dns, which is nice. Zerotier is working on that - Zerotier has public networks. While I think it's a bad idea, it's pretty fun and dangerous In terms of stability and performance, they're both stable and fast. Somehow zerotier does not get as much love as wireguard. Or nobody talks about it ;-) Tailscale seems to forcus more on higher layer apps (filedrops, service discovery (just a portscan), simple firewall rules), while Zerotier seems to focus more on the technicalities. Tailscale is trying to look for which value adding features are popular amongst clients. This makes sense, as tailscale simply uses wireguard, and zerotier is their own tech. Zerotier seems to be run by networking people. This is also the things that works against zerotier.. UI is clunky, the SDN language is difficult, no service discovery. Imo zerotier's updates and development is very slow. Not sure why.. Maybe they lack a roadmap. For zerotier to be easier to use, they could create a visual editor for the networks, by actually showing a switch, using cables on the ports, and different colors for different rules. This is more in line of what they do (global ethernet switch), instead of a VPN. Also, I think zerotier should do more official integrations with routers / nas. Wireguard at a certain point will be integrated in all routers, because it's in the linux kernel.
- implying 5y agoI've deployed it to my larger-than-average home network with great success. A device can roam outside of the network and still access intranet sites and services, and I can remotely access family devices for helpdesk tasks. My only complaint is that there is no good alternative to authentication other than using Google for small deployments like this. I don't want to pay an auth provider, and none of them offer a simplified plan for 3-4 users.
- macintux 5y agoFrom the site it looks like GitHub works; is that not the case? I’m definitely not using Google for auth if I can avoid it.
- Jtsummers 5y agoI think that's new-ish, I'd have used it if it were an option when I created my account.
- dave_universetf 5y agoIt's "launched this week" new, yeah. We don't have a way to migrate between auth providers yet, but if you feel strongly you could log out your devices and sign back in with github auth. That'd create a completely new tailnet tied to github auth instead of google.
- atatatat 5y agoSo, Google or Microsoft, then.
- oezi 5y ago> I can remotely access family devices for helpdesk task Aren't you afraid that a family member compromises "your" network? I would be cautious to let my parents operate within my intranet unchecked. Does Tailscale have any means to monitor or tie this down without being a drag? I am still stuck with doing TeamViewer into family devices, because it seems less risky.
- deleted 5y ago[deleted]
- e12e 5y agoNice tool. I wonder if it supports resuming downloads? Might have been better if they built on bonjour/zeroconf rather than make a "tailscale" api though... on the other hand, I guess bonjour/zeroconf works oob on tailscale anyway. Which makes this more of a marketing for a new api/app platform?
- dave_universetf 5y agoNot yet on resuming downloads. No principled reason, just haven't gotten to it yet. LAN discovery is handled by Tailscale's network engine, a couple layers of abstraction below the file sending. We're going to add some mdns stuff in there at some point (similar to WebRTC's privacy-preserving LAN endpoint discovery), but the benefit of running this all over Tailscale's network engine is that file transfer works exactly the same whether you're on the same LAN as the target, or halfway across the internet. The only variable is how fast the file moves.
- lilyball 5y agoWide-area DNS-SD exists too, it’s not just for mDNS, so if this was built on a DNS-SD infrastructure then supporting devices off the LAN would be as simple as just offering a wide-area service enumeration and browsing domain.
- mercora 5y agounless they do do something funky only unicast packets are routed in wireguard. bonjour/zerconf/mdns all use multicast or broadcasts for discovery. integrating some kind of service discovery relay would be possible though.
- e12e 5y agoHm, I thought I'd seen someone comment that mDNS worked for wireguard - but I haven't tried myself. I guess I can't move from ZeroTier for my home network yet.
- apenwarr 5y agoPost author here. I'm happy to answer any questions / respond to any rants if you like.
- supermatt 5y agoIm still a bit confused about the "without the cloud" aspect. It seems that you still need NAT traversal, which means an external STUN server, and a relay for NATs that cannot be traversed - as well as a coordination/signalling broker. Surely those require some services "in the cloud"?
- apenwarr 5y agoIn Tailscale, much like in SDN or SD-WAN, we think of the network in two parts, the control plane and the data plane. The data plane is how the bulk of your packets get sent from one place to another, which in Tailscale is peer-to-peer (as long as your network is not completely blocking NAT traversal for some reason). Even if NAT traversal is blocked and we have to relay your data through the cloud (through our DERP network) to make it work, the data plane is still end-to-end encrypted using private keys that only exist on each node. The private keys never leave each node. The DERP servers are just relaying opaque byte streams, like any IP router would do. On the other hand, the Tailscale control plane uses a central coordination service. It's used to exchange public keys and STUN information between nodes, but this is a tiny amount of information updated rarely (and therefore reasonably cheap for us to handle at scale). These public keys are not enough for an attacker (us or anyone else) to be able to decrypt your data traffic. So when we say taildrop never sends your files through the cloud, that's because taildrop exists entirely inside the data plane, sending data through e2e encrypted tunnels that have already been established with the help of the coordination service, STUN, etc. Because the coordination service is cheap for us to run, we can have a really generous Tailscale free plan without losing all our money. The paid plans are intended to be for "corporate network" situations where people want more centralized controls, audit trails, and so on.
- judge2020 5y agoReally great insight into your pricing structure (just today I was wondering if you were just burning money with the generous free plan), thanks!
- zaroth 5y agoSo my immediate thought was, what if I want to use Tailscale as a backend fabric for enabling a new P2P application? It doesn’t seem like a scenario / use case envisioned in their pricing page.
- apenwarr 5y agoThe idea is to get there eventually, and taildrop is the first example/experiment in that area. In theory a bunch of individuals on the free plan should be able to build arbitrarily complex networks by using the (also free) node sharing feature: https://tailscale.com/kb/1084/sharing/ https://tailscale.com/kb/1084/sharing/ In practice, probably needs more stuff added before that's truly realistic. But we're always looking for feedback on how to make it easier.
- kodablah 5y agoThis was my first thought as well. I wonder if what they refer to as the control plane[0] could be a DHT that contains keys instead. But as I thought more, I wonder what benefit a VPN-based fabric for P2P would have over protocol/application-level encrypted content. Granted the NAT busting features can help on their own, but otherwise I struggle to see the benefit assuming the protocol has encryption and P2P built in (I am probably just missing something). 0 - https://tailscale.com/blog/how-tailscale-works/ https://tailscale.com/blog/how-tailscale-works/
- MorganGallant 5y agoThe really interesting idea here is that once you change the frame of reference, or start from a different technical basis, features like Taildrop become incredibly easy to build and design - it seems like it almost built itself. It seems like the same goes for interfaces or platforms… once you have a computer in your pocket capable of 11T operations per second, you get a lot of stuff “for free” right out of the box.
- bsder 5y agoSure, once you "Bust a NAT" sharing is stupidly simple. "Bust a NAT" is anything but easy, however.
- bookofsand 5y agoIndeed. For those that started scratching their heads 'this is impossible', this deep dive from the Tailscale blog will be informative. Perhaps even entertaining, the birthday paradox may have a hand in it. https://tailscale.com/blog/how-nat-traversal-works https://tailscale.com/blog/how-nat-traversal-works
- iso1210 5y agoHowever in situations where you have say a Juniper SRX scrambling both source and destination ports on both sides of your nat, the birthday intersect is 2^32 rather than 2^16. With a Cisco ASA or Fortigate which tends to keep the same source port where possible you'll converge far more quickly. When there's a central server to help it's even quicker and most of the time will just work. (sometimes it's not possible to keep the same port when source-natting -- with two devices from 192.168.0.1:9000 -> 1.1.1.1:53 and 192.168.0.2:9000 -> 1.1.1.1:53, the second will have to have a mapping to non-:9000 source IP, but in my experience, Cisco, Fortigate and Mikrotik (thus linux) all support the "only change if needed" option)
- eru 5y agoThat reminds me of https://franklinchen.com/blog/2011/12/08/revisiting-knuth-and-mcilroys-word-count-programs/ https://franklinchen.com/blog/2011/12/08/revisiting-knuth-an... Basically, Knuth was writing a beautiful but excessively low level program. His challenger wrote a dozen lines of shell-script.
- colesantiago 5y agoIs Tailscale / Taildrop fully open source? Such that I can set this up myself for my own purposes 1:1? Wanted to use Tailscale's service but saw this on the sign up page: > Sign up with your identity provider... This frightened me enough not to use Tailscale, I don't want Google / Microsoft sharing any more of my data. Is this still the case?
- judge2020 5y agoGiven you’d sign up with an email anyways, I don’t see how it’s sharing more data by using oauth versus a password.
- iso1210 5y agoIf I share my email with tailscale that's sharing data between me and them, no third party involved. If I use an OAuth integration I'm involving a third party Some people use a third party email provider, but chances are they aren't supported (even if your mail provider offers oauth integration) -- the only support is with Google and Microsoft Now that aside, I support the idea of tailscale not creating its own identify provider. BYOI is far better than yet another supplier to leak information and yet another password to manage. If I were interested in integration with my company's SSO, I'm sure they'd be able to support our OAuth endpoint. For personal use, chances are you have an identity with one of the providers, and the information leaking to that provider (that you use tailscale) is minimal and seems like a good solution.
- bookofsand 5y agoSkimmed through their excellent design docs. The code is open source, but requires running a centralized control plane sever and may also require running a data plane relay server to cover some relatively common NAT configurations. https://tailscale.com/blog/how-tailscale-works https://tailscale.com/blog/how-tailscale-works
- sbierwagen 5y ago>Is Tailscale / Taildrop fully open source? Why would it be? It's a commercial service. >Such that I can set this up myself for my own purposes 1:1? I'm guessing both peers ping a central server in order to discover each other, which is why it's integrated with tailscale at all. If you're in the tiny segment of the population who is already paying for a server with a public IP, and have the technical ability to deploy services to it, I feel like it would be marginally less effort to just sftp the file to that server rather than try to clone the feature set of taildrop. Tailscale could theoretically publish a docker container that contains the guts of this service, but it'd be rather a lot of work, for no money. >>Sign up with your identity provider... I have not seen a lot of evidence that regular users care about identity provider privacy, seeing as how Facebook had 2.8 billion monthly active users last quarter. That customer segment (half of the world population) might be more interested in signing up for the free tier of tailscale and getting magic file sharing than they would be in administering their own linux server.
- mikevm 5y agoDid Tailscale introduce any security measures to their Coordination Server? Last I checked the coordination server is basically controlled by them and they could easily just insert any of their own pubkeys and infiltrate your network. Even supporting WireGuard's Share Secret feature would be a start. As long as that's not addressed, not a chance in hell I'm going to deploy this.
- deleted 5y ago[deleted]
- iFreilicht 5y agoYou can host your own coordination server, right?
- mikevm 5y agoLast I checked you cannot.
- Nekit1234007 5y agohttps://github.com/juanfont/headscale https://github.com/juanfont/headscale
- mikevm 5y agoThis is a 3rd party implementation. The official coordination server is not open source.
- Nekit1234007 5y agoBut you can host your own coord server, right?
- tyingq 5y agoIt does look like it's missing some functionality that could be key (DNS, ACLs, namespaces). But, pretty neat that it exists, given "The purpose of writing this was to learn how Tailscale works".
- PostThisTooFast 5y agoWhatever THAT is. Another douchey HN headline.
- abss 5y agoFor the taildrop author: I could see potential on this to be used in the enterprise blockchain area with a condition: make it easy to setup a virtual network in wich each member is manually approving public keys of the consortium members. Working with docker/kubernetes will also be good. Contact me (taildropfromhn at axiologic.net) if you want details. We will love to use such a VPN setup in a real blockchain project for pharma industry. For others: therr others that will appreciate the better security offered by using public key cryptography while still having a lightwight but decentralised setup?
- apenwarr 5y agoYou might like the Tailscale Machine Key approval feature. If enabled for your domain, no device can join your tailscale network unless they’re manually approved by your network’s admin or the API.
- tyingq 5y agoI wonder how uneasy this sort of nicely documented and packaged user-space networking and nat traversal is making IT admins. It seems like it's pretty easy to, for example, create an internet facing service that pulls from internal company data sources. With user-space tunnels that probably aren't very easy to find from the IT admin perspective. I get that Tailscale didn't invent this capability, but they do a nice job of showing how it would work, some of the pieces (wireguard-go), and so on. They do seem aware: https://github.com/tailscale/tailscale/issues/204 https://github.com/tailscale/tailscale/issues/204
- _joel 5y agoI wish tailscale would offer auth that isn't tied to the big SSO providers.
- ptman 5y agoInnernet is an open source alternative to tailscale https://github.com/tonarino/innernet https://github.com/tonarino/innernet . Since this feature was so easy I imagine someone could pretty easily add it as a PR
- jokethrowaway 5y agoIsn't this basically magic-wormhole? You can also achieve something similar with WebRTC in any browser and "zero" dependencies.
- psanford 5y agoNot really. Magic-Wormhole's primary use case is for when you don't already have an existing secure channel between two computers. That's why Magic-Wormhole uses a PAKE, which gives you a way to easily authenticate and exchange keys without any other pre-existing trust between systems. If you have tailscale installed on your machines you already have a secure communication channel available to you.