News for hackers. Stuff that matters.
Re:NetMaker: Connect Everything with a WireGuard VPN by jeroenhd on Tuesday August 15, 2023 @11:57PM (#37142698)
The feature list reminded me of Tailscale so I went looking and found this on their website: https://www.netmaker.io/resources/tailscale-vs-zerotier

Their comparison graph at the bottom seems to indicate that the differentiating features between their product and Tailscale is that you can't self-host (ignoring the existence of headscale) and that WireGuard support is limited. I believe the latter point refers to the default Tailscale configuration that connects every node with every other node, whereas NetMaker allows different network configurations.

However, Tailscale ACLs should allow you to reconfigure the network into shape you want, so I'm not sure if that criticism still applies. Their claim that "data will pass through their relay (DERP) servers fairly regularly" also seems suspect, as that's only the case for networks where UDP traffic doesn't flow between clients despite STUN/TURN, which is very rare in practice.

The only advantage I can find is that NetMaker has a richer free plan and that they use the WireGuard kernel module where possible. I'm not sure why they didn't lead with that.

Re:NetMaker: Connect Everything with a WireGuard VPN by webstrand on Wednesday August 16, 2023 @12:21AM (#37142847)
Tailscale doesn't offer an official self-hosted control server, right? That seems to be an advantage of NetMaker.

It has no equivalent to tailnet lock, though, as far as I can tell.

Re:NetMaker: Connect Everything with a WireGuard VPN by phoenk on Wednesday August 16, 2023 @01:22AM (#37143134)
It isn't official, but headscale exists: https://github.com/juanfont/headscale
Re:NetMaker: Connect Everything with a WireGuard VPN by shrubble on Wednesday August 16, 2023 @12:49AM (#37142992)
You seem very familiar with this topic... have you ever evaluated 'tinc'?
Re:NetMaker: Connect Everything with a WireGuard VPN by yardstick on Wednesday August 16, 2023 @01:24AM (#37143146)
Tinc is dormant these days. Very little development going on.

Cool concept, but limited performance and limited uptake. Their approach to mesh was neat at the time.

Re:NetMaker: Connect Everything with a WireGuard VPN by jasonjayr on Wednesday August 16, 2023 @01:35AM (#37143215)
Dormant, or stable?

I've been running a tinc mesh network for eons w/ my systems and it's never given me any trouble. I use git to check in the 'hosts/' folder and add/remove hosts as needed, pull down to all the nodes, and they can all connect.

I do wish the encryption + transport could be as performant as wireguard, but for my needs, I haven't been pushing it hard enough that it's a concern for me.

Re:NetMaker: Connect Everything with a WireGuard VPN by yardstick on Wednesday August 16, 2023 @01:57AM (#37143345)
I somewhat agree with you.

I went with Dormant as 1.1 has been in development for years and no official stable release. Changes to 1.1 are the odd PR here and there, nothing really from the main author anymore.

Yeah things like improving the encryption I would expect even with a stable but active product like this. Especially given ChaCha20’s widespread adoption and optimisation these days. Likewise I would have liked to have seen decent tinc phone clients (ios, Android). But this is a failing of a lot of VPN clients.

Just look at the release interval on their news page.

Honestly I think the likes of WireGuard, Tailscale, etc took the steam out of the developer. It’s a shame because I do prefer to have a diverse range of VPNs rather than just OpenVPN, IPsec, WireGuard.

1. https://www.tinc-vpn.org/news/

Re:NetMaker: Connect Everything with a WireGuard VPN by gsliepen on Wednesday August 16, 2023 @10:57AM (#37148089)
It's not so much the other VPN products out there, rather no time and no other core developers. There have been lots of people contributing, some much more than others, but usually it was just to scratch their itch, after which they move on (which is perfectly fine).

I'm not sure how to revitalize development if there is not a large interest from developers, and I don't want to turn this into something commercial like OpenVPN did.

Re:NetMaker: Connect Everything with a WireGuard VPN by yardstick on Wednesday August 16, 2023 @11:47AM (#37148890)
Yes completely understand you re time. Just one of those things that happens with life.

Thanks for creating tinc, truly an awesome approach to meshed VPNs!

Re:NetMaker: Connect Everything with a WireGuard VPN by Tigress8780 on Wednesday August 16, 2023 @02:42AM (#37143554)
Tinc works, but is not really stable for my use case: strange network environment thanks to my school. It frequently falls into infinite loops, dropping all packets and fully use a CPU core (on Windows, Linux looks fine). It seems stable on an all-Linux network, but the moment a Windows client is added, things can go wrong.

It also does not really have a decent mobile client.

Re:NetMaker: Connect Everything with a WireGuard VPN by Borg3 on Wednesday August 16, 2023 @05:59AM (#37144855)
Thats very strange. I use tinc-vpn exclusivly for my network. Both Linux, Win32, and FreeBSD. Everything is very stable.

But I have to admit, I have private fork of tinc-vpn specifically for Win32. AFAIR I did only minor changes to TAP driver initialization and how scripts are executed. They have they own thread now and additionaly there is script called tinc-pre to handle IP initialization before TAP interface is up. Becuase meh, Windows Network Interfaces work strange :)

Re:NetMaker: Connect Everything with a WireGuard VPN by Borg3 on Wednesday August 16, 2023 @06:06AM (#37144912)
Same here. Im very happy with tinc-vpn. It can easly push 100Mbit traffic through my severs and thats enough for my needs. Also, auto-mesh is very nice feature. I do NOT want to forward traffic via my central hubs.

Note: I use tinc-vpn only in switch (L2) mode. For routing good old quagga (forked) does it job.

Re:NetMaker: Connect Everything with a WireGuard VPN by bjconlan on Wednesday August 16, 2023 @01:19AM (#37143111)
Is the kernel module how they claim the 5x performance over tailscale? I haven't really done any real tailscale performance metrics but can't see how else they can claim this (unless there is infrastructure performance differences).
Re:NetMaker: Connect Everything with a WireGuard VPN by FabHK on Wednesday August 16, 2023 @01:40AM (#37143249)
They do highlight that they use kernel space Wireguard as opposed to Tailscale which uses user space Wireguard.

https://medium.com/netmaker/battle-of-the-vpns-which-one-is-...

https://techoverflow.net/2022/08/19/iperf-benchmark-of-zerot...

Re:NetMaker: Connect Everything with a WireGuard VPN by rudasn on Wednesday August 16, 2023 @02:02AM (#37143372)
Afaik, tailscale recently made changes to their go user space implementation that actually made their version faster than the kernel implementation, at least in some cases.

I remember reading a blog post on tailscacles' website about it and how they are pushing their changes upstream (wg kernel and official wg go user space implementation).

Can't find the post now though.

Re:NetMaker: Connect Everything with a WireGuard VPN by CalebJohn on Wednesday August 16, 2023 @02:39AM (#37143543)
I think this is the post you're referring to.

https://tailscale.com/blog/more-throughput/

Re:NetMaker: Connect Everything with a WireGuard VPN by rudasn on Wednesday August 16, 2023 @04:42AM (#37144332)
Yes that's the one.
Re:NetMaker: Connect Everything with a WireGuard VPN by intelVISA on Wednesday August 16, 2023 @05:35AM (#37144683)
Go is a bit too slow for performant networking - not sure why people are hell-bent on forcing it into in such spaces where it doesn't belong.
Re:NetMaker: Connect Everything with a WireGuard VPN by neilalexander on Wednesday August 16, 2023 @06:33AM (#37145077)
This is not true. When it comes to networking, most languages (Go included) are bottlenecked at context switching for syscalls.
Re:NetMaker: Connect Everything with a WireGuard VPN by LeBit on Wednesday August 16, 2023 @08:49AM (#37146265)
Please, elaborate or provide sources.
Re:NetMaker: Connect Everything with a WireGuard VPN by Modified3019 on Wednesday August 16, 2023 @04:27AM (#37144227)
My hazy understanding from previous conversations was the performance advantages claimed is basically how things were "out of the box" for comparison, for certain situations. However I've seen people claim the differences quickly close when someone that knows what they are doing optimizes a setup. Additionally other situations are much more similar.

The numbers Netmaker posted likely come from: https://medium.com/netmaker/battle-of-the-vpns-which-one-is-...

Note that a spreadsheet with raw data and command used (which is all `iperf3 -c <IP>`) is here: https://docs.google.com/spreadsheets/d/1Qy27zEERSqisdV1u-YUc...

While it's a good idea to be skeptical of a company tooting it's own horn, there does (or has) seemed to be a consistent performance advantage that is beneficial to those who aren't paid for or like being a network admin beyond setting a proper MTU: https://techoverflow.net/2022/08/19/iperf-benchmark-of-zerot...

However in light of https://tailscale.com/blog/more-throughput/ (thanks to FabHK for bringing this to my attention) testing should probably be redone.

Re:NetMaker: Connect Everything with a WireGuard VPN by GhostWhisperer on Wednesday August 16, 2023 @01:26AM (#37143152)
1. thanks for linking that

2. the comparison:

- protocol: wireguard is now baseline

- speed: netmaker is faster because it uses kernel wg - this is not going to hold true for all system configurations, certainly doesn't for macos

- flexibility: feels like it does the same as tailscale, marketed slightly different as they list common use-cases – egress and ingress gateways; network shaping with acls is also possible in ts; maybe someone will write-up an unbiased comparison on self hosting

- price: ts offer seems to be good enough for most users and their limits are "soft" anyway – i pay $45 a year because i want sustainable, not free

looking for reasons to change and don't find any

Re:NetMaker: Connect Everything with a WireGuard VPN by yardstick on Wednesday August 16, 2023 @02:03AM (#37143378)
What’s your approach to routing the mesh? Static? BGP? Something else?
Re:NetMaker: Connect Everything with a WireGuard VPN by GhostWhisperer on Wednesday August 16, 2023 @02:10AM (#37143406)
i don't route any traffic besides the odd exit-node, and tailscale takes care of that for me

the exit-node routing is for firewall circumvention - if i find myself unable to connect to git over ssh, i simply activate routing through the exit-node and continue working

the exit-node sits at home where i set the rules

Re:NetMaker: Connect Everything with a WireGuard VPN by ignoramous on Wednesday August 16, 2023 @06:20AM (#37144989)
> - speed: netmaker is faster because it uses kernel wg - this is not going to hold true for all system configurations, certainly doesn't for macos

As of now, tailscale claims they're faster than (linux) kernel wg: https://tailscale.com/blog/throughput-improvements/

  Surprisingly, we improved the performance of wireguard-go (running in userspace) enough to make it faster than WireGuard (running in the kernel) in the best conditions. But, this point of comparison likely won’t be long-lived: we expect the kernel can do similar things.
Re:NetMaker: Connect Everything with a WireGuard VPN by SOLAR_FIELDS on Wednesday August 16, 2023 @09:52AM (#37147009)
Huh, would be interesting to see some non-tailscale benchmarks of this. Assuming the kernel impl is actually optimized it should be theoretically impossible to exceed the performance with userland wg?
Re:NetMaker: Connect Everything with a WireGuard VPN by SparkyMcUnicorn on Wednesday August 16, 2023 @09:41PM (#37156129)
I ran the same benchmarks they listed here[0], and did some practical tests. As of a week after the article being written, Tailscale was faster than kernel wireguard.

[0] https://tailscale.com/blog/more-throughput/

Re:NetMaker: Connect Everything with a WireGuard VPN by afeiszli on Wednesday August 16, 2023 @09:53AM (#37147019)
Hi, worth noting another point on this. Netmaker has "Client Gateways", which allow you to generate and modify raw WireGuard config files. This is extremely useful for integrating custom WireGuard setups. For instance, generate a config file, modify it, put it on a router, and boom, site-to-site. https://www.netmaker.io/features/ingress
Re:NetMaker: Connect Everything with a WireGuard VPN by afeiszli on Wednesday August 16, 2023 @10:29AM (#37147599)
I think it's worth doing your own investigation on how often traffic is getting relayed via Tailscale. We don't have numbers on it, but have had users who experienced very high latency with Tailscale, and after doing some traffic analysis, discovered it was getting relayed halfway across the country. Tailscale does a fantastic job at NAT traversal, but it's still a worthwhile consideration.