mirror of https://github.com/wg-easy/wg-easy
Browse Source
This PR allows the use of Address Ranges using the CIDR notation. To make it backward compatible, i introduced a new env variable WG_DEFAULT_ADDRESS_RANGE (defaults to the previous default of 24). This allows the usage of smaller subnets (or possibly larger; but i didn't test that due to restrictions on my network). Client IPs will be calculated with correct IP addresses instead of making assumptions of the address space.pull/939/head
committed by
pheiduck
7 changed files with 33 additions and 8 deletions
Loading…
Reference in new issue