7 ms·
Tailscale vs. Narrowlink
- mikae1 3y agoDon't forget Nebula[1]. [1] https://slack.engineering/introducing-nebula-the-open-source-global-overlay-network-from-slack/ https://slack.engineering/introducing-nebula-the-open-source...
- PlutoIsAPlanet 3y agoUsed Nebula to build a cross-cloud Nomad cluster, very underrated and does 99% of what you'd want from Tailscale.
- pawelduda 3y agoNo Android support though, instant dealbreaker for me. I use tailscale and termux to SSH into my devices, or to access my HomeAssistant from anywhere EDIT: my bad, they have an Android client
- dsissitka 3y agoWhat doesn't support Android? Nebula has an Android client: https://play.google.com/store/apps/details?id=net.defined.mobile_nebula https://play.google.com/store/apps/details?id=net.defined.mo...
- deleted 3y ago[deleted]
- pawelduda 3y agoYou're right! I didn't realize article posted by parent was 3 years old (it only mentions iOS client being in development). Their website mentions Android client!
- jdoss 3y agoHey me too and I fully agree! Nebula is super underrated in this market space. I use Nebula to connect my primary datacenter rack with a bunch of dedicated servers and VMs all together on an overlay network. This makes it easy for me to add Nomad client nodes quickly in different parts of the world and everything just works. I actually use https://defined.net https://defined.net for a managed Nebula experience and it makes everything super easy to get going and the team is super helpful with the few issues that I have run into. The free tier is super generous with up to 100 hosts for free and you don't need a credit card to get started. I highly recommend checking it out.
- FL410 3y agoSame, I love Nebula/Defined
- JeremyNT 3y agoThis is my favorite tool in this space as well. It's very simple and p2p. I don't know why it seems to be so far below the radar in these comparisons / conversations. Perhaps the Tailscale marketing is just that good :)
- pahae 3y agoNebula is fantastic, absolute love it. We use it in production. Cert management can be a bit of a pain on a large scale but there's an excellent Terraform provider [0] that can help. Coupled with the Terraform ansible provider and a little bit of scripting you can automate anything related to cert provisioning and renewal. [0] https://registry.terraform.io/providers/TelkomIndonesia/nebula/latest https://registry.terraform.io/providers/TelkomIndonesia/nebu...
- SadTrombone 3y agoThe Nebula creators actually started their own company after leaving Slack focusing on handling your mentioned pain points with cert management and orchestration: defined.net
- Alifatisk 3y agoThere is also Zerotier (zerotier.com)
- bootsmann 3y agoThis article is classic SEO fluff right? The Q&A style answering exactly the type of questions that people comparing the two would write into google search.
- booi 3y agohow dare they try to answer questions people would type into google
- bootsmann 3y agoAh I’m not negative about this here, its just notable and makes the article overly verbose.
- decremental 3y agoThat's why the competitor's name is first in the title.
- semiquaver 3y agoIt's not exactly a new idea. If it works for SEO this is probably just a case where search engines are doing what you'd expect. https://en.wikipedia.org/wiki/FAQ https://en.wikipedia.org/wiki/FAQ
- esafak 3y agoThat's marketing: clarifying positioning. Everybody startup should write such pages.
- philsnow 3y agoIf you want a search term for more info about it, this kind of article specifically falls under "content marketing", in this case it's a high-converting type called a "versus page".
- fragmede 3y agoWhat makes it "fluff" to you? My definition of "fluff" is that it doesn't answer my question, and that I walk away from it with no idea what the product even is. This is mostly concrete and I can tell you roughly what Narrowlink is and isn't after reading their (misspelled) page. Something like: "Introducing NarrowLink, the world's most advanced and secure VPN solution! With our cutting-edge technology, you'll experience unparalleled speed, reliability, and security. Our military-grade encryption ensures that your data stays private and safe from prying eyes. Enjoy unlimited access to all your favorite content, no matter where you are in the world. Say goodbye to restrictions and hello to a new era of internet freedom. Join millions of satisfied customers and take control of your online experience with NarrowLink today!" would be fluff.
- mightybyte 3y agoNebula is another option along these lines. https://nebula.defined.net/docs/ https://nebula.defined.net/docs/ I've been using it for the better part of a year and am very happy with it. It is able to make point-to-point network connections in many situations, avoiding the out-and-back cost of VPN ingress/egress points that are far away from source and dest.
- __jem 3y ago> However, tailscale focuses on access different devices to each other, while Narrowlink focuses on access to the services trough on the agent as a proxy. You can easily do the same thing with Tailscale: https://tailscale.com/kb/1019/subnets/ https://tailscale.com/kb/1019/subnets/.
- smashed 3y agoWhat does the sentence you quoted even mean? This reads like a rough first draft that needs to be clarified. I don't get it at all.
- pcthrowaway 3y ago> access to the services trough on the agent as a proxy I assume the services trough is somewhat of a poor man's service bus
- gunapologist99 3y agoor misspelled "through" but that wouldn't make much sense either.
- Tijdreiziger 3y agoThat’s the way they picture it on the intro page of their docs [1], so it makes sense to me. In general, that page is a lot clearer about the product than the linked one. [1] https://narrowlink.com/docs/intro https://narrowlink.com/docs/intro
- infinityio 3y agoFor people for which the SaaSiness of Tailscale would be the main deciding factor, it is important to note that this article completely fails to mention Headscale, a BSD-licenced tailscale-compatible coordination server under active development
- aliasxneo 3y agoWe tried switching to Headscale recently...it was not a pleasant experience. I'm sure with more time in the oven, it will eventually become a comparable replacement, but I wouldn't be relying on it for anything production oriented.
- AdamJacobMuller 3y agoInteresting, I am using it in some limited production capacities and it works fine, what kind of issues are you seeing? The interface is a bit clunky but the service (both agent and control plane) are rock solid for me.
- deleted 3y ago[deleted]
- juanfont 3y agoHeadscale dev here! What issues did you face? :)
- aliasxneo 3y agoIt was last year, so it's not in recent memory, but most of the problem was around instability. We ran into some frequent issues where we would begin troubleshooting, assuming it was something on the application end, only to find out that the issue was happening in the network. We eventually figured out that the Headscale network was randomly dropping in and out. I'm sure with a lot more time we could have identified the root cause, but unfortunately, we had a deadline and just paid Tailscale (and haven't had any issues since). Like I said, I'm sure it's coming along fine, it's not just something that we were able to set and forget like with the Tailscale experience.
- xrd 3y agoI'm using head scale. Is this a drop in replacement? Intrigued.
- FloatArtifact 3y agoSounds like in Narrowlink as a proxy passes through all traffic as it's not peer-to-peer? As a home lab with it deployed on a VPS the bandwidth rates/caps could be significant. Granted residential lSP can run into caps as well.
- vocatan 3y agoI started reading through the Narrowlink URL, but the frequency of typos was frustrating enough the I came right back to HackerNews to read the comments and synopsis of what the kerfuffle is about. Thanks for the pointer to headscale - will take a look ;)
- makkesk8 3y agoNetmaker[1] is another player in the space [1] https://www.netmaker.io https://www.netmaker.io
- predictabl3 3y agoWow, every time I check in on it it feels like its 10x the product it was the 4-6 months prior. Impressive!
- SOLAR_FIELDS 3y agoThe downside of that is its instability. I enjoy it as a product - I was using it almost two years ago and it was good enough to set up a small scale mesh network at that point - but they basically were issuing breaking releases every month or two. Maybe now that they have a cloud offering it has stabilized.
- c7DJTLrn 3y agoDefinitely interested in this, however: >Narrowlink uses a centralized gateway that clients and agents connect to over HTTP/S protocols Tunneling TCP over TCP will undoubtedly result in poor network performance. This is why WireGuard is UDP-only.
- pcthrowaway 3y agoIsn't SOCKS typically tunneling TCP over TCP? SOCKS has been rock solid for me And on the other hand, HTTP/S is often using UDP for the transport now
- wmf 3y agoNo, because SOCKS terminates the "inner" TCP connection at the proxy.
- brutal_boi 3y agoTailsacle also has a series of performance optimization and wireguard testing blog posts; considering some of their late offload additions, and even though they use userspace wg, I find it hard to believe they are nowhere in the same perf ballpark, but I could be entirely wrong here...
- benjaminl 3y agoThey should move to using QUIC which is the protocol backing HTTP/3. QUIC incorporates TLS1.3 and has an extension for UDP style unreliable datagrams (https://datatracker.ietf.org/doc/rfc9221/ https://datatracker.ietf.org/doc/rfc9221/). It would be the perfect way to bring SSL/TSL/HTTPS VPNs onto a modern performant protocol while keeping the simplicity in of the https based VPN. It would still have the advantage of looking like https traffic, while have the performance characteristics of UDP based VPN protocol.
- SajjadPourali 3y agoHey, I am the creator of Narrowlink. I certainly find your comment valid, and using WireGuard over HTTPS most of the time provides better network performance. However, in very specific cases, Narrowlink demonstrates superior performance. 1- When your devices' routes are not optimal, and utilizing a CDN can enhance the connection due to smart routing. For instance, I have a server in Poland (while I live in Canada) where the direct connection is slower than connecting via Narrowlink behind the CDN (The gateway behind the CDN). 2- And in rare cases, Tailscale cannot establish a peer-to-peer connection, opting to use DERP servers and their own servers (no longer strictly P2P as seen here: https://tailscale.com/kb/1232/derp-servers/ https://tailscale.com/kb/1232/derp-servers/). In such cases, Narrowlink may provide faster connectivity. 3- When you start your Tailscale client, it needs to perform NAT discovery. If a symmetric NAT exists, it takes time to connect due to network flooding for UDP hole punching, while Narrowlink can respond on demand (see the section "The benefits of birthdays" on https://tailscale.com/blog/how-nat-traversal-works/ https://tailscale.com/blog/how-nat-traversal-works/). It's also important to note, alongside the protocol, the software implementation is crucial. Narrowlink is written purely in Rust, while Tailscale has been created by orchestrating existing tools and uses the Go and C++ programming languages. I suggest you try Narrowlink and experience its computational performance. I believe Tailscale is an amazing VPN solution, but its protocol, infrastructure, and complexities might not be the best fit for self-hosted platforms. In contrast, Narrowlink is a Proxy solution (currently not a VPN) that is very simple to set up. Please note that narrowlink only encapsulate the TCP payload's not its headers. I recently released Narrowlink (just two days ago), and it is in the early stages of its journey. I have various plans for this project, including a web interface, integration of the QUIC protocol, and more. I just need the support of the community and more time to enhance it.
- zhaoweny 3y agoSeems Narrowlink is tunneling at socket level; while Tailscale is tunneling at network / IP level. I think they are comparing apple to orange here.
- notatoad 3y agocomparing apples to oranges is legitimately a good analogy here, just not in the idiomatic way people usually mean it. apples and oranges are pretty comprable. they are different things, but serve the same purpose and are often used interchangeably. it's perfectly reasonable to compare those two things.
- Joker_vD 3y agoYeah, the usual way this analogy is meant to be understood always pissed me off. Of course you can compare them: apples are better for making an apple pie than oranges; apples are cheaper and less squishy during transportation; oranges have more vitamin C; apples have more bio-available iron; oranges (subjectively) are tastier and less sour; etc.
- Joker_vD 3y agoAnd we all know apples and oranges are incompatible in every single way. Even their physical dimensions or prices can't be meaningfully compared! Seriously though: both of those products aim to provide secure tunnelling/network connectivity. They do it differently, which leads to different trade-offs including, among other things, at which level the OS network stack is intercepted. All of those things can be meaningfully compared (e.g., "do I need my favourite application Z to explicitly support and be configured to use a HTTP/SOCKS-proxy or will it 'just work'™?" — Tor and OpenVPN give two different answers).
- hobofan 3y agoBoth of those products provide that functionality on paper, but they are widely different products with widely different audiences. I think their respective "Get Started" buttons show it best: Tailscale tries to get you connected to your team and to download the client as fast and easy as possible (= it's a product for everyone in the company), while Narrowlink throws you to a lengthy explainer page that no non-technical user will bother with.
- tailspin2019 3y ago> Narrowlink and Tailscale are two open source solutions with different architectures that enable secure remote access and connectivity across networks. A nitpick, but ironically I think they're being generous to Tailscale there. Tailscale isn't really "open source" - or at least not without heavy qualification. I'm not an open source zealot by any means but that line just seems a little misleading. The clients are partially open source [0], but the server isn't at all. There is an open-source implementation of the Tailscale server called Headscale, but Headscale is not Tailscale. This distinction is important because a significant part of the value proposition of Tailscale compared to other overlay/mesh networks is their very well designed web UI which makes managing their Wireguard based networks very user friendly. Headscale has no UI (edit: there are some third-party "unofficial" Headscale UIs [2]). In fact the Headscale repo still says explicitly "This project is not associated with Tailscale Inc." [1] even though I understand that it is (unofficially?) supported by Tailscale these days. [0] https://github.com/tailscale/tailscale https://github.com/tailscale/tailscale [1] https://github.com/juanfont/headscale https://github.com/juanfont/headscale [2] https://github.com/juanfont/headscale/blob/main/docs/web-ui.md https://github.com/juanfont/headscale/blob/main/docs/web-ui....
- predictabl3 3y ago> significant part of the value proposition of Tailscale is their very well designed web UI which makes managing their Wireguard based networks very user friendly. I think this is an opinion. I don't use the tags/rules, and I literally only use their website to complete the oauth flow to auth a new client. Headscale is a perfectly functional replacement of Tailscale for me.
- tailspin2019 3y agoI don't mean to downplay the value of Headscale, but only to make the point that it's quite a different beast to the Tailscale SaaS experience. For the record I think Headscale is an impressive project.
- skrtskrt 3y agoI interviewed there and asked about this and they said their coordination server and (and other UI features UI) are almost completely about satisfying very demanding enterprise customers, with one of the major concerns being the performance particularly of applying ACL rules across huge complex networks. They said there would be a lot of code cleanup to open source the coordination server, and it's not been completely ruled out but Headscale is such a nice alternative for those that care about an open source coordination server that it doesn't seem to be a big motivation.
- predictabl3 3y agoUhh, this is really not compelling to me, at all. It's hard to understand if these differences are just differences or touted as supposed features. Especially since you can self-host headscale...
- lwhsiao 3y agoInnernet is also in this space. Also rust, but using wiregaurd. https://github.com/tonarino/innernet https://github.com/tonarino/innernet
- lazzlazzlazz 3y agoI think Defined Networking[1] is also in this category, but I haven't seen too many comparisons. I have heard very good things. [1]: https://www.defined.net/ https://www.defined.net/
- gabeio 3y agoInteresting. I thought recognized the logo, apparently seems to be a commercial support offering of https://github.com/slackhq/nebula https://github.com/slackhq/nebula and they support the "nebula" iOS app. I had been using for nebula/defined in the past.
- brunoqc 3y agoAnother alternative could be https://webmeshproj.github.io/ https://webmeshproj.github.io/ . It's not 100% done yet, but it already looks nice. No central point of failure, I think.
- Nezteb 3y agoI've tried Tailscale, Headscale, Nebula, Netmaker, OpenZiti, wg-easy, and a few other niche overlay network and VPN tools. Each time I still end up using Firezone [1] when I need a simple wrapper over Wireguard. [1] https://www.firezone.dev/ https://www.firezone.dev/
- tamimio 3y agoI’m more interested in the link stability and latency, any benchmarks for all these products? Nebula/headscale/narrolink?
- dddw 3y agoyes! i found nebula to be slow for instance
- PLG88 3y agoThere are but they are all done by companies with an interest and therefore other parties cry foul that their product was not setup to give best performance. fwiw, I work on the OpenZiti project which may interest you too as the overlay is a smart routing mesh network (think concepts of MPLS as SW) including ability to have multiple nodes with E2E latency being used to shift paths.
- gerdusvz 3y agoTarget market seems to be more VPN alternative in environments where VPN usage is prohibited/banned/tracked.
- Sugimot0 3y agoHere's a list of alternatives and related projects: https://github.com/anderspitman/awesome-tunneling https://github.com/anderspitman/awesome-tunneling
- mutant 3y agoNarrowlink isn't on here. Is it not awesome?
- Alifatisk 3y agoCool project, I might have to check it out. I recently tried to use ngrok as a daemon to my local server but it constantly kept closing the connection, and it seems to be a common issue.
- PLG88 3y agoThat happens if you are using the free version on Ngrok. You could also check out zrok.io, its an open source alternative I work on. We also have a free SaaS version for easy usage.
- Alifatisk 3y agoI managed to find a solution, It's called ngrok agent (also free) which I run in docker as daemon mode. But I might check out zrok.io anyways, can I run it in a container aswell?
- PLG88 3y agoFor sure. Here's a video with docker - https://www.youtube.com/watch?v=HxyvtFAvwUE&ab_channel=OpenZiti https://www.youtube.com/watch?v=HxyvtFAvwUE&ab_channel=OpenZ.... The real game changer (but may not be relevant you) is zrok is being abled to use the OpenZiti SDKs so that you can embed zrok functions directly into an application. We have built the Go one so far, but all others will be done in due course.
- 3y ago
- jgavinray 3y ago"Narrowlink and Tailscale are two open-source solutions with different architectures that enable secure remote access and connectivity across networks." The opening statement of this document is misleading and indicative that the author isn't really aware of what is open source and what isn't. A more appropriate comparison should be between headscale and narrowlink.
- yuedongze 3y agoThe HTTP/S proxy network of NL is interesting. But I think QUIC unreliable transport + MASQUE is the future here
- brobinson 3y agoWhat this tells me is that I really want something like Tailscale but written in Rust and not requiring a third-party, closed source server for authentication. (yes I know about headscale)
- Chyzwar 3y agoI am trying to use tailscale for personal project as mesh overlay network, but it is annoying. When you create images in packer, you need to remove state, otherwise nodes would fight over the same IP when created from the same snapshot. AuthKey expiration for infra is 90 making this another secret that you need to manually rotate. When running "tailscale up" with --ssh it hangs ssh connection making Ansible scripts brittle. For non-tech use, the android app is pretty useless. Taildrop is weird, I would like to have NFS over tailnet that you can easily share with others. It seems that everyone wants to build VPN solution to sell to enterprises. There is probably more profit than building opensource mesh overlay :( Given all that, I think that narrowlink architecture is flawed and worse than tailscale. Narrowlink gateway is both single point of failure and performance bottleneck (looks a bit like Cisco AnyConnect). Wireguard is very nice and modern protocol, narrowlink would need to implement own custom alternative over https. It would be interesting to see how both perform in very large topologies.
- e12e 3y ago> I would like to have NFS over tailnet that you can easily share with others. Anything stopping you there? Other than NFS being NFS? CIFS/Samba or WebDAV should work fine?
- Chyzwar 3y agoIf you already have mesh network and client application installed, why not extend this for easy network sharing?
- e12e 3y ago... because network sharing is easy if you can trust the network? Easy re-use of existing network tools is literally the usecase for these networks in the first place?
- tharos47 3y agoYou can disable key expiration for the machine via the web UI.
- reilly3000 3y agoWhat’s this about Wireguard leaking metadata? That is the first time I’ve heard the protocol complained about.
- dugite-code 3y agoFrom my read of the article it's mainly from the peer to peer nature of the setup. With Tailscale and wireguard you know where traffic is coming from and where it is going as it's not going through a central gateway. You also can find out it's VPN data as it isn't tunnled over https or using any other masking methodology. I belive you wouldn't find anything out about the data inside the wireguard tunnel just the wireguard tunnel metadata.
- d-z-m 3y agoNot sure if I'm just bad at reading Rust code, but it looks like the end-to-end encryption is implemented by pre-sharing a symmetric key, and communicating a 24 byte xChacha20Poly1305 nonce over the wire as websockets are established. This key and nonce are subsequently used to encrypt and decrypt messages sent between the two parties. It looks like the encrypt and decrypt functions are called as new websocket traffic is read or written to the stream. If true, this means that every message sent via this means uses an identical keystream to encrypt all messages, and thus results in a loss of confidentiality of all messages. Am I missing something? https://github.com/narrowlink/narrowlink/blob/abf35e38567b8802c1e6ab0bf9ee9c01a7f90a21/network/src/lib.rs#L99 https://github.com/narrowlink/narrowlink/blob/abf35e38567b88... https://github.com/narrowlink/narrowlink/blob/abf35e38567b8802c1e6ab0bf9ee9c01a7f90a21/client/src/main.rs#L314 https://github.com/narrowlink/narrowlink/blob/abf35e38567b88...
- dathinab 3y ago(Disclaimer: not related to the referenced narrowlink code, but the sentiment of the parent post) I which stuff like libsodium would be both more widely available and more widely used. And with "stuff" I don't mean the internal core primitives but the slightly more higher level helper which often try (in the limits of C) limit miss use and have reasonable good documentation. E.g. crypto_secretstream_xchacha20poly1305* from https://doc.libsodium.org/secret-key_cryptography https://doc.libsodium.org/secret-key_cryptography /secretstream Because while by now most people have understood that inventing/putting together their own low level crypto primitives is a bad idea, people using existing low level primitives to invent their own "mid level" primitives still happen more often then healthy in the industry.
- folex 3y agohttps://github.com/narrowlink/narrowlink/blob/main/agent/src/main.rs https://github.com/narrowlink/narrowlink/blob/main/agent/src... mhm. single-handedly, though.
- ec109685 3y agoWhy does Tailscale’s simplistic support for ACL’s on IP addresses matter given all the security is in the mesh layer.
- 3np 3y ago> Narrowlink uses a centralized gateway to which clients and agents connect over HTTP/S protocols. The gateway handles routing and connections between agents behind firewalls/NAT and clients. > Tailscale uses a centralized configuration management system to define devices, access control policies, etc. Traffic is routed through the Tailscale cloud services to facilitate connections between devices. To clarify: Traffic _may_ be routed through Tailscale cloud services but the centralized Tailscale service is used primarily to coordinate configuration and only secondary as tunnel. If it goes down, the existing tailnet will keep functioning. In contrast, the Narrowlink gateway is an inherent central point-of-failure which all traffic needs to be routed through. From a quick look this looks like one of the major deciding factors between the two. Would be great to hear if there are any intentions to make a future version of Narrowlink address this downside and make it into an actual mesh network.
- sandstrom 3y agoAnother option in this space is https://netbird.io/ https://netbird.io/ Unfortunately they still don't have an iOS client (which e.g. Tailscale and ZeroTier has).