erplibre/script/vpn/drivers
Mathieu Benoit 197d19d61e [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé
Le dépôt n'avait aucun moyen de monter un tunnel VPN ni de dire pourquoi il
refuse de monter. Cinq technologies libres, un pilote chacune, derrière un
`vpn.py` qui monte, démonte et diagnostique.

Ce qui n'est pas secret — hôte, utilisateur, routes, MTU — vit dans une
configuration JSON lisible ; clés pré-partagées et mots de passe vivent dans
un coffre KeePassXC. Un profil se montre et se partage sans donner de quoi
monter le tunnel. Les secrets s'écrivent en tmpfs sous 0700, jamais sur un
disque persistant. Le diagnostic part du noyau et remonte, pour que la
première ligne fausse soit la cause et non une conséquence.
Vérifié : 138 tests, dont le rendu de chaque fichier généré.

--- EN ---

The repository had no way to raise a VPN tunnel, nor to say why one refuses
to come up. Five free technologies, one driver each, behind a `vpn.py` that
raises, tears down and diagnoses.

What is not secret — host, user, routes, MTU — lives in readable JSON
configuration; pre-shared keys and passwords live in a KeePassXC vault. A
profile can be shown and shared without handing over the means to raise the
tunnel. Secrets are written to tmpfs at 0700, never to a persistent disk.
Diagnosis starts at the kernel and climbs, so the first false line is the
cause and not a consequence.
Checked: 138 tests, including the rendering of every generated file.

Assisted-by: Claude Opus 5
2026-09-04 03:42:49 +00:00
..
__init__.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
base.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
l2tp_ipsec.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
openconnect.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
openvpn.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
sshuttle.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00
wireguard.py [ADD] vpn : cinq pilotes, secrets en coffre, diagnostic étagé 2026-09-04 03:42:49 +00:00