On Sun, Mar 25, 2018 at 8:10 PM, ST <smn...@gmail.com> wrote: > PS: if you have over 100 peers it is a bit a headache to find a free IP > when adding a new peer. There is no reason WG could not scan through IPs > it already knows and choose a free one, assign it in its own config file > and print it out for passing to the remote peer... > There is a reason, at least one, good one - it is called simplicity. It is also hard to work when you are running out of disk space or memory; do you expect WG to solve that for you? Simply put, IP addressing schemes are not a part of WG, neither a requirement. There are many ways to use WG and "assign random, free IP address and send to a new peer" is too specific of a use case.
May be you can cobble up something with a DHCP server that cares about certain address range? Or a simple flat-file dB and a script that does it for you? What happens when you run out of addresses? How do you re-assign an IP address to a new peer? ... Those are questions widely outside WG, IMHO. Cheers, Kalin. _______________________________________________ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard