Live data from Hacker News

WireGuard is now in Linus' tree

lists.zx2c4.com

211–220 of 293 posts

Re: WireGuard is now in Linus' tree

#211

Earlier quoted context omitted.

I setup WireGuard on my Ubiquiti router and have profiles installed on my phone and Mac. Extremely convenient for some basic privacy when on a public hotspot.

Nice! Is it one of the UniFi ones?

No, it's an EdgeRouter.

I'm not sure if UniFi equipment supports the run times necessary for WireGuard.

----

UniFi has its own VPN type of software. Not sure what it is or how secure it is, though.

Re: WireGuard is now in Linus' tree

#212

Earlier quoted context omitted.

Nice! Is it one of the UniFi ones?

No, it's an EdgeRouter. I'm not sure if UniFi equipment supports the run times necessary for WireGuard. ---- UniFi has its own VPN type of software. Not sure what it is or how secure it is, though.

It sucks. It doesn't work on Windows reliably. If you're going to do VPN on Ubiquity gear I either install OpenVPN on the EdgeRouter or pass the traffic through to another device to handle the VPN.

Re: WireGuard is now in Linus' tree

#213
post #70
post #40

Earlier quoted context omitted.

The tunnel does not have to encapsulate messages at the same layer as the tunnel itself. Consider this thought experiment: if you send Ethernet frames over WebSockets, what layer is the protocol? My understanding is the Wireguard messages are IP (L3) but the protocol messages itself are UDP (L4) and it seems reasonable to describe Wireguard as a session layer over UDP given how much state and connection information i…

The internet does not use OSI.

L1 to L4 are just a shorthand way network engineers talk about:

  1. The physical connection and voltage/light levels
  2. Switching and MAC addresses
  3. Routing and IP addresses
  4. TCP/UDP and port numbers
Of course we know it's more complicated than that, but it's still a useful simplification.

Re: WireGuard is now in Linus' tree

#214
post #150

Fantastic news. I deploy WireGuard to provide a private network (mesh) between VPS servers. Each VPS instance has each other vps as peer. So no single source of failure. I run PostgreSQL with Patroni and GlusterFS over this mesh with no issues. When I add or destroy a VPS with Ansible all VPS nodes get an updated config and reload. This way I don't rely on a single cloud provider because I do not use their private ne…

Can you talk a bit more about your setup with patroni, postgresql and glusterFS. Are you running postgres on a glusterfs? How well does that work?

From my experience file locking on a distributed filesystem is either not implemented correctly or has piss-poor performance -- and databases use them

Re: WireGuard is now in Linus' tree

#215

Earlier quoted context omitted.

What's the rate of companies doing this?

I have no real idea, but I wouldn't be surprised if it is less than 1%.

The problem I ran into is that my company will match employee contributions to registered non-profits. Wireguard doesn't seem to be a project under a registered non-profit. My company won't donate to a random Patreon or PayPal link.

Re: WireGuard is now in Linus' tree

#216
post #154
post #150

Fantastic news. I deploy WireGuard to provide a private network (mesh) between VPS servers. Each VPS instance has each other vps as peer. So no single source of failure. I run PostgreSQL with Patroni and GlusterFS over this mesh with no issues. When I add or destroy a VPS with Ansible all VPS nodes get an updated config and reload. This way I don't rely on a single cloud provider because I do not use their private ne…

That's really interesting. So you essentially implemented a Virtual Private Cloud(VPC) on top of the "PHY" network of your hosts? Does that mean that all your nodes have to be accessible to the public internet?

I'm also doing this with internet-connected vms, but I have closed all ports using Iptables

Re: WireGuard is now in Linus' tree

#217
Wireguard is really, really awesome. I've been using it for a bit now and it almost completely Just Works™. I've only had two issues, one of which is known and the other of which I think is probably my fault somehow.

The first is that for some reason I sometimes need to ping machine B from A in order to get to C via B (in my case B sits in a VPS, while A is a laptop and C is a desktop).

The other is that I would love to be able to connect directly over the LAN from A to C and vice versa, only going via B when A is mobile. I'm pretty sure that I could fix this with more IPv6 addresses and routing tables, but so far no joy.

Re: WireGuard is now in Linus' tree

#218

Earlier quoted context omitted.

Check out https://tailscale.com/ a mesh VPN built on top of wireguard.

Another example of a product that looks interesting, but the folks responsible for marketing it make it a pain in the arse. This looks like it solves a problem I have. Looks like it might be a commercial product (mentions of Okta and "get started for free"), but I can't find out any more information without signing up which I don't want to do if it doesn't support the configuration I want or is more expensive than my…

I don't think there are "folks responsible for marketing". They aren't ready for crotchety customers. They have no funding. https://www.crunchbase.com/organization/tailscale

They want early adopters (their friends) to play with their prototype, and they don't want to commit to pricing and long term support before they know what they can build and if it will work and how much it costs.

Re: WireGuard is now in Linus' tree

#219

Earlier quoted context omitted.

I just learned about tailscale today on twitter. Here's the tweet from the founder https://twitter.com/davidcrawshaw/status/1222203472461926401... Looks really promising

It does look very nice. It's a shame that it depends on third parties for authentication, and that they have gems like this in their documentation: > No app-level integration or reconfiguration is required, because security is built into the network itself. If you configure your network to require Tailscale, every one of your internal services will be subject to multi-factor authentication. Which is simply not true.…

> That does not mean my applications I access through the VPN are now magically subject to MFA.

Why not? Doesn't the VPN authenticate you via VPN before you can access the apps?

Re: WireGuard is now in Linus' tree

#220
post #70
post #40

Earlier quoted context omitted.

The tunnel does not have to encapsulate messages at the same layer as the tunnel itself. Consider this thought experiment: if you send Ethernet frames over WebSockets, what layer is the protocol? My understanding is the Wireguard messages are IP (L3) but the protocol messages itself are UDP (L4) and it seems reasonable to describe Wireguard as a session layer over UDP given how much state and connection information i…

The internet does not use OSI.

OK? The Internet does not use OSI, but it sure was helpful just now as an educational tool for describing that "what layer a VPN operates on" can be confusing. Even if you don't literally use OSI layers, knowing that UDP builds on top of TCP and having a common vernacular to express that is pretty useful. Given that the entire thread was already using specific OSI layers (which have clear mappings to things the Internet does do), starting by saying "the OSI model is not what the Internet actually does" does not seem to be the most productive avenue towards fostering understanding :)
Post reply on HN