News for hackers. Stuff that matters.
Re:Knockknock: Simple, secure, and stealthy port knocking im... by lfmunoz4 on Wednesday August 28, 2024 @02:42PM (#41382774)
Been wanting to use wireguard but seems like a lot of effort of managing keys and ip addrseses and routing rules etc. Do you have resources that might help me understanding the best setup?
Re:Knockknock: Simple, secure, and stealthy port knocking im... by fragmede on Wednesday August 28, 2024 @03:33PM (#41383319)
Tailscale is wireguard underneath and does all that managing for you.
Re:Knockknock: Simple, secure, and stealthy port knocking im... by commercialnix on Wednesday August 28, 2024 @10:43PM (#41386753)
When Wireguard first came out I wrote some scripts for myself. Later on I used SaltStack to configure Wireguard for customers with sets of laptops in the dozens or more.

https://Netbird.io is probably something you may be interested in.

Re:Knockknock: Simple, secure, and stealthy port knocking im... by dvzk on Wednesday August 28, 2024 @11:15PM (#41386920)
WireGuard is extremely easy to setup. It's difficult to manage if you have hundreds of nodes or dynamic endpoints: that's what Tailscale and Netmaker helps with.

OpenBSD's wg documentation is straightforward. It maps onto wireguard-tools' configuration concepts if you need to use Linux.

1. https://man.openbsd.org/wg.4

2. https://man.openbsd.org/ifconfig.8#WIREGUARD

3. https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8

With OpenBSD you will typically end up with a hostname.wgN config that looks like this:

  inet6 fd00:abcd:efgh:ijkl::1/48
  wgkey <base64-private-key>
  wgport 51820
  wgpeer <base64-peer-pubkey> \
    wgpsk <base64-secret> # optional \
    wgaip fd00:abcd:efgh:mnop::1/64 \
    wgendpoint x.x.y.y 51820
  up