Commit Graph

7 Commits

Author SHA1 Message Date
Philip H bf214fb4d3
Revert "feat: cidr notation" 2024-03-27 14:41:31 +01:00
Philip H 2f9364aa31
wg-easy.service: add missing WG_DEFAULT_ADDRESS_RANGE 2024-03-25 18:31:06 +01:00
Thomas Willems c4d4da38e7 correct CIDR notation 2024-03-05 16:58:19 +01:00
Thomas Willems 89415a2258 refactor to support CIDR and legacy notation
for WG_DEFAULT_ADDRESS
2024-03-05 16:58:19 +01:00
Thomas Willems 577af9947d introduce WG_DEFAULT_ADDRESS_RANGE (CIDR notation)
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.
2024-03-05 16:58:19 +01:00
Philip H b6484518f4
wg-easy.service: remove double '+' 2024-02-22 18:14:29 +01:00
Philip H 45c637027b
add wg-easy.service for wg-easy setup without docker 2024-01-20 23:33:20 +01:00