+ PS :
sur la machine w10,
j'ai finalement réussi à ajouter l'utilisateur local au groupe "Opérateurs de configuration réseau" par le GUI accessible par :
Mais ça n'a rien changé à l'utilisation du client wg :
Je peux toujours l'activer (avec/sans l'option kill switch ; cad bloquer ou pas tout le trafic non tunnelisé).
Mais le serveur wg ne voit toujours pas le client.
Comment peut-il affirmer être Activé bien que non connecté au serveur wg ?
Le serveur wg tourne.
Il voit et peut pinger le client wg iOS qui peut le pinger en retour.
De même quand je désactive/active le serveur ou le client iOS, le ping révèle immédiatement la connexion ou la déconnexion.
Pour le client win10, j'ai fouillé dans les logs :
On y voit [MGR] Failed to connect to adapter interface puis un problème de connexion avec le serveur (adresse IP caviardée) :
2023-07-24 22:19:39.675250: [MGR] Failed to connect to adapter interface \\?\SWD#WireGuard#{F03C8F8B-A004-AE53-0814-F28C60763014}#{cac88484-7515-4c03-82e6-71a87abac361}: Le fichier spécifié est introuvable. (Code 0x00000002)
2023-07-24 22:19:44.598800: [TUN] [wg] Handshake for peer 1 (x.x.x.x:51820) did not complete after 5 seconds, retrying (try 2)
2023-07-24 22:19:44.600773: [TUN] [wg] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-07-24 22:19:49.623592: [TUN] [wg] Handshake for peer 1 (x.x.x.x:51820) did not complete after 5 seconds, retrying (try 2)
2023-07-24 22:19:49.623592: [TUN] [wg] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-07-24 22:19:54.634037: [TUN] [wg] Sending handshake initiation to peer 1 (x.x.x.x:51820)
etc.
Après redémarrage ou logout/login(suggéré après ajout d'un utilisateur à un groupe) :
il n'y a plus l'erreur Failed to connect to adapter interface mais le dialogue avec le serveur ne fonctionne toujours pas :
2023-07-24 23:10:15.744: [TUN] [wg ] Startup complete
2023-07-24 23:10:15.754: [TUN] [wg ] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-07-24 23:10:20.918: [TUN] [wg ]
Handshake for peer 1 (x.x.x.x:51820)
did not complete after 5 seconds, retrying (try 2)
2023-07-24 23:10:20.918: [TUN] [wg ] Sending handshake initiation to peer 1 (x.x.x.x:51820)
2023-07-24 23:10:26.036: [TUN] [wg ] Handshake for peer 1 (x.x.x.x:51820) did not complete after 5 seconds, retrying (try 2)
2023-07-24 23:10:26.036: [TUN] [wg ] Sending handshake initiation to peer 1 (x.x.x.x:51820)
De ton expérience avec wg win, qu'est-ce qui coince encore ?
Merci.