News for hackers. Stuff that matters.
Re:WireGuard is now in Linus' tree by ghthor on Wednesday January 29, 2020 @04:19AM (#22178773)
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?

Re:WireGuard is now in Linus' tree by adevx on Wednesday January 29, 2020 @05:30AM (#22179103)
In my case yes and yes, but mostly because I spread out over two cloud providers.
Re:WireGuard is now in Linus' tree by kevin_nisbet on Wednesday January 29, 2020 @10:47AM (#22181774)
But it only needs to be accessible on the port WireGuard uses for communications, and WireGuard also has a nice property where it acts passively for non-wireguard packets.

So someone on the internet doesn't necessarily know the node is reachable from the internet if they try and scan it for example.

Edit: IIRC only one end of the connection needs a stable endpoint as well. IIRC WireGuard supports mobility (changing IP addresses) for one end of the connection.

Re:WireGuard is now in Linus' tree by monkeybutt on Thursday January 30, 2020 @04:35AM (#22190109)
afaik, both ends can move, they just send packets to the latest IP they received a valid packet from.
Re:WireGuard is now in Linus' tree by mongrelion on Wednesday January 29, 2020 @04:49AM (#22178934)
Not necessarily, no. All hosts talk to each other on their private (v)NIC.
Re:WireGuard is now in Linus' tree by ralala on Wednesday January 29, 2020 @09:53AM (#22181123)
I'm also doing this with internet-connected vms, but I have closed all ports using Iptables