Archived
1.2 KiB
1.2 KiB
Contributing to WGTools
Thanks for helping improve WGTools.
Before opening an issue
- Check whether the problem occurs on the latest release.
- Run the built-in Server diagnostics.
- Remove private keys, Telegram tokens, public endpoints and sensitive topology details from logs/screenshots.
- Never upload a
.wgtbackuparchive to a public issue.
Useful diagnostic commands include:
systemctl status wgtools --no-pager -l
systemctl status wgtools-telegram --no-pager -l
journalctl -u wgtools -n 100 --no-pager
journalctl -u wgtools-telegram -n 100 --no-pager
wg show
ip rule show
ip route show table all
iptables -S
iptables -t nat -S
Sanitize outputs before posting them publicly.
Pull requests
Please keep changes focused and readable.
For changes that touch routing, firewall, WireGuard configuration or backup/restore logic, describe:
- the previous behavior;
- the new behavior;
- how rollback/failure is handled;
- how the change was tested.
Do not commit generated databases, private keys, .conf files, .wgtbackup archives, .venv, __pycache__ or production logs.
Language
Source code, identifiers and primary documentation should remain English. User-facing UI text can be added to both English and Russian locale files.