Installation: tell VPN users to set advertise_host before make cert

make url, make qr and make cert take the PC address from the default route,
which goes through the tunnel when a VPN is active (e.g. 10.2.0.2 with Proton
VPN's WireGuard); the QR code then points to an address the tablet cannot
reach and the HTTPS certificate is issued for it.

The README (fr/en) installation steps, the example config and CLAUDE.md now
say to put the PC's local-network address in server.advertise_host before
make cert, how to find it (ip -4 -br addr), and that rerunning make cert
afterwards reissues the server certificate while keeping the CA.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Denis
2026-10-26 17:30:06 +01:00
parent 7818cf5d17
commit 2892e39c71
4 changed files with 39 additions and 5 deletions
+4 -2
View File
@@ -5,8 +5,10 @@
# 0.0.0.0 = toutes les interfaces ; préférer l'IP LAN du PC si possible
host = "0.0.0.0"
port = 8765
# Adresse affichée dans l'URL et le QR code (`make url`) ; à renseigner si la détection
# automatique choisit une mauvaise interface (VPN, Docker…). Nom d'hôte ou IPv4.
# Adresse affichée dans l'URL et le QR code (`make url`) et pour laquelle `make cert` émet le certificat HTTPS.
# À RENSEIGNER AVANT `make cert` si le PC utilise un VPN (WireGuard, Proton VPN…) ou Docker : la détection
# automatique suit la route par défaut, qui passe alors par le tunnel (ex. 10.2.0.2), injoignable par la tablette.
# Mettre l'adresse du PC sur le réseau local (`ip -4 -br addr`, interface enp…/eno…/wlp…). Nom d'hôte ou IPv4.
# advertise_host = "192.168.1.104"
# HTTPS : `make cert` crée une CA locale + un certificat et renseigne ces trois lignes.
# La tablette doit installer la CA une fois (https://<ip>:<port>/ca.crt).