Archived
1 parent
f5bdd7e21c
commit
affe28ad71
110 files changed
+52936
-14
No files matched your search
+59
@@ -0,0 +1,59 @@
|
||||
# Privacy and Data Flow
|
||||
|
||||
WGTools is designed as a self-hosted administration tool.
|
||||
|
||||
## No application telemetry
|
||||
|
||||
WGTools does not include analytics, advertising SDKs or background telemetry to the project maintainer.
|
||||
|
||||
The application does not intentionally upload your:
|
||||
|
||||
- WireGuard server private key;
|
||||
- client private keys;
|
||||
- peer list;
|
||||
- local network topology;
|
||||
- WGTools usernames, optional account e-mail addresses and password hashes;
|
||||
- traffic counters;
|
||||
- configuration backups.
|
||||
|
||||
## External network connections
|
||||
|
||||
### Let’s Encrypt / ACME
|
||||
|
||||
If and only if an administrator requests a built-in HTTPS certificate, WGTools invokes the locally installed Certbot client to contact Let’s Encrypt ACME services for certificate issuance. While built-in HTTPS remains enabled, a systemd timer runs Certbot renewal automatically. The requested domain or public IP and Let’s Encrypt account e-mail are necessarily sent to the certificate authority as part of the ACME process. TCP port `80` must be reachable from the Internet for the standalone HTTP-01 validation used by WGTools. The resulting certificate and private key remain on the server under `/etc/letsencrypt/live/wgtools/`.
|
||||
|
||||
### Mail / SMTP
|
||||
|
||||
If and only if Mail is configured and used, WGTools connects to the administrator-supplied SMTP server to send test messages and password-recovery codes. SMTP host/login/sender settings and the optional SMTP password are stored locally in the WGTools SQLite database. The password is not returned by the settings API and is redacted from Audit. Password-reset codes are stored only as salted PBKDF2 hashes, expire after 15 minutes and are one-time use.
|
||||
|
||||
### Telegram
|
||||
|
||||
If and only if Telegram Bot integration is configured and enabled, WGTools connects to:
|
||||
|
||||
```text
|
||||
https://api.telegram.org
|
||||
```
|
||||
|
||||
The bot uses long polling and sends the messages/files necessary for the actions requested by authorized Telegram users.
|
||||
|
||||
### Optional traceroute map geolocation
|
||||
|
||||
The **Server → Trace** diagnostic can optionally draw public route hops on an interactive map. Only when **Show route on map** is enabled, WGTools sends the public IP addresses returned by traceroute to `https://ipwho.is` to obtain approximate coordinates and network/location labels. Private/local hop addresses are not sent. Results are cached locally in `/run` for up to 24 hours to reduce repeated lookups. The browser also requests map tiles from OpenStreetMap (`tile.openstreetmap.org`), so that service can see the browser IP address and the map tile coordinates being viewed. Ping and traceroute themselves do not use either service.
|
||||
|
||||
### Debian / Ubuntu package repositories
|
||||
|
||||
When an administrator installs packages from the UI or runs the installer, `apt` contacts the Debian/Ubuntu repositories configured on the host.
|
||||
|
||||
### Instalacja i aktualizacje
|
||||
|
||||
Instalator uruchamia się z lokalnych plików projektu. Administrator ręcznie wgrywa pakiet aktualizacji; aplikacja nie sprawdza serwerów aktualizacyjnych oryginalnego projektu.
|
||||
|
||||
## Local browser data
|
||||
|
||||
The browser may store UI preferences and previously entered endpoint/domain values to make repeated client creation easier. These remain in the browser profile.
|
||||
|
||||
## Local server data
|
||||
|
||||
Persistent application state is stored under `/var/lib/wgtools` and `/etc/wgtools`. This includes WGTools-managed client metadata, client-group policy/default definitions, a rolling 24-hour CPU, memory and network-rate history used only for the local Dashboard graphs, durable per-peer/interface WireGuard traffic counters, and the local Audit journal. Audit records can contain the WGTools username, Telegram `@username` and numeric Telegram user ID for state-changing bot actions, and WireGuard client endpoint IP addresses for connection-history events. Audit events are retained for 30 days with a 10,000-row safety cap. Secret-bearing fields and key/token-like values are redacted or intentionally excluded. Login failures and password-recovery actions may record the connecting IP address for local security auditing. WireGuard configuration remains under `/etc/wireguard`.
|
||||
|
||||
See [README.md](README.md) for the file layout.
|
||||
Reference in new issue
Block a user