Commit Graph
10 Commits
Author SHA1 Message Date
Thomas Willemsandpheiduck cb45bc1c43 update ip package to 2.0.1 2024-03-05 16:58:19 +01:00
Thomas Willemsandpheiduck c4d4da38e7 correct CIDR notation 2024-03-05 16:58:19 +01:00
Thomas Willemsandpheiduck 89415a2258 refactor to support CIDR and legacy notation
for WG_DEFAULT_ADDRESS
2024-03-05 16:58:19 +01:00
Thomas Willemsandpheiduck 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
Thomas WillemsandPhilip H 19c83de975 add .is-disabled 2024-03-04 21:40:17 +01:00
Thomas WillemsandPhilip H 76c713499d allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-03-04 21:39:57 +01:00
Thomas Willems 80cb585560 fix lint error 2024-03-04 17:46:39 +01:00
Thomas Willems 4aa6f99b04 rename is-disabled to inactive 2024-01-30 21:28:46 +01:00
Thomas Willems 20ae02dd48 add .is-disabled 2024-01-30 21:27:05 +01:00
Thomas Willems c7cc3eca4a allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-01-30 21:27:02 +01:00