De: "roger tarani" <[email protected]>
À: "Liste Debian" <[email protected]>
Envoyé: Lundi 24 Juillet 2023 20:25:31
Objet: Re: Comment router le trafic réseau finement
Le 24 juil. 2023 à 19:40, NoSpam <[email protected]> a écrit :
BQ_BEGIN
Le 24/07/2023 à 18:56, [ mailto:[email protected] | [email protected] ] a
écrit :
BQ_BEGIN
BQ_END
BQ_END
(...)
J’ai configuré un client wg win10 en quelques mn.
mais il dit Activé alors que le serveur wg ne le voit pas m( et ta 2ème
commande n’a pas fonctionné).
J’ai tenté d’exécuter wg client w10 en admin : il dit Activé, mais le serveur
ne le voit pas.
Comment régler ce problème win10 avec Add-LocalGroupMember ?
Comment expliques-tu que le client wg sur win10 (utilisateur normal ou admin)
affiche Activé alors que le serveur ne voit rien ?
Merci.
+ 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 :
lusrmgr.msc
(Run command box : Win R)
Voir [ https://www.itechtics.com/add-user-to-group/ |
https://www.itechtics.com/add-user-to-group/ ]
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.