The application was originally licensed under CC-NC-SA, which is not compatible with the GPLv2 license of WireGuard,
a core component of this project.
The GPLv2 requires that any derivative work, which includes any software that incorporates GPLv2-licensed code,
must also be licensed under GPLv2.
This ensures the same freedoms to use, modify, and distribute the software are preserved.
This commit updates the license of the application to GPLv2 to comply with WireGuard's licensing requirements and to maintain legal conformity.
- Modified `src/config.js` to include new iptables rules that block traffic between clients on the `wg0` interface.
- Added iptables rules in `WG_POST_UP` and `WG_POST_DOWN` to explicitly reject traffic between clients (`iptables -A FORWARD -i wg0 -o wg0 -j REJECT;`).
- Applied the same logic for IPv6 traffic, ensuring that client-to-client traffic is blocked in both IPv4 and IPv6 networks.
- These changes are crucial for enhancing the security and privacy of clients connected to the WireGuard server by preventing inter-client communication.
* feat: generate PASSWORD_HASH on the fly
* remove PASSWORD environment variable in favor of PASSWORD_HASH
* enhance password validity check server function
* update Dockerfile to include building a binary for generating hashed password
* update README with comprehensive Docker usage instructions hash generation
* fix: try fix git action docker build
* Dockerfile: use alpine-base image and install required build packages
* rewrite in js
* move files
* fix: lint errors
* some corrections
---------
Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>