{"id":1485,"date":"2024-11-10T07:43:06","date_gmt":"2024-11-10T06:43:06","guid":{"rendered":"https:\/\/artheodoc.fr\/?page_id=1485"},"modified":"2024-11-10T13:48:25","modified_gmt":"2024-11-10T12:48:25","slug":"installer-et-configurer-le-client-wireguard-sous-windows-11","status":"publish","type":"page","link":"https:\/\/artheodoc.fr\/index.php\/installer-et-configurer-le-client-wireguard-sous-windows-11\/","title":{"rendered":"Installer et configurer le client WireGuard sous Windows 11"},"content":{"rendered":"\n<p>T\u00e9l\u00e9chargez le client Windows&nbsp;:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.wireguard.com\/install\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.wireguard.com\/install<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"75\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_1.png\" alt=\"\" class=\"wp-image-1486\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_1.png 478w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_1-300x47.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\n\n\n\n<p><br>Cliquez sur <strong>[Download Windows Installer]<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"55\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_2.png\" alt=\"\" class=\"wp-image-1487\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_2.png 688w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_2-300x24.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/figure>\n\n\n\n<p><br>Double cliquez gauche sur <strong>wiregard-installer.exe<\/strong> dans le dossier T\u00e9l\u00e9chargement.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"995\" height=\"779\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_3.png\" alt=\"\" class=\"wp-image-1488\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_3.png 995w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_3-300x235.png 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_3-768x601.png 768w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/figure>\n\n\n\n<p><br>L\u2019application d\u00e9marre, si vous disposez d\u2019un fichier .conf pour votre VPN (<em>dans mon d\u00e9j\u00e0 cr\u00e9\u00e9 sous Linux<\/em>) cliquez sur <strong>[Importer un tunnel \u00e0 partir d&rsquo;un fichier ]<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"995\" height=\"779\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_4.png\" alt=\"\" class=\"wp-image-1489\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_4.png 995w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_4-300x235.png 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_4-768x601.png 768w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/figure>\n\n\n\n<p><br>Apr\u00e8s l&rsquo;importation, cliquez sur <strong>[Activer]<\/strong> pour vous connecter au serveur VPN WireGuard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"995\" height=\"779\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_5.png\" alt=\"\" class=\"wp-image-1490\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_5.png 995w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_5-300x235.png 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/11\/Client_WireGuard_Windows_5-768x601.png 768w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/figure>\n\n\n<p><p style=\"line-height: 100%; margin-bottom: 0cm\">La connexion appara\u00eet <b>activ\u00e9e<\/b>, pour se d\u00e9connecter du VPN <b>[D\u00e9sactiver]<\/b>.<\/p>\n<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><br><strong>Pour mettre l\u2019ic\u00f4ne du client WireGuard sur votre bureau<\/strong><\/p>\n\n\n<p><p style=\"line-height: 100%; margin-bottom: 0cm\">Rechercher l\u2019application <b>WireGuard<\/b> ==> \u00ab\u00a0<b>Ouvrir l\u2019emplacement du fichier<\/b>\u00a0\u00bb ==> clic droit sur <b>WireGuard<\/b> ==> <b>Afficher d\u2019autres options<\/b> ==> <b>Envoyer vers<\/b> ==> <b>Bureau (cr\u00e9er un raccourci)<\/b>.<\/p>\n<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Si vous devez cr\u00e9er vos cl\u00e9s priv\u00e9e et publique<\/strong><\/p>\n\n\n\n<p>Lancez l\u2019application <strong>WireGuard<\/strong> ==&gt; Cliquez sur la <strong>fl\u00e8che<\/strong> vers le bas de \u00ab&nbsp;<strong>Ajouter un tunnel&nbsp;<\/strong>\u00bb ==&gt; \u00ab&nbsp;<strong>Ajouter un tunnel vide<\/strong>&nbsp;\u00bb ==&gt; Une fois le tunnel ajout\u00e9, l\u2019application g\u00e9n\u00e9rera automatiquement une cl\u00e9 priv\u00e9e et une cl\u00e9 publique que vous pourrez utiliser pour la configuration de votre serveur ou d\u2019autres clients.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Exemple de fichier de configuration wg<em>x<\/em>.conf<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><em><strong>sudo nano \/etc\/wireguard\/wg<\/strong><\/em><em><strong>2<\/strong><\/em><em><strong>.conf<\/strong><\/em><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#f2e7cc\"><code>&#91;Interface]\n\n# Cl\u00e9 priv\u00e9e du client\n\nPrivateKey = 8G*****************************************Gg=\n\n# Adresse IP du client \u00e0 l\u2019int\u00e9rieur du VPN\n\nAddress = 10.5.0.3\/24\n\n&#91;Peer]\n\n# Cl\u00e9 publique du serveur\n\nPublicKey = bP*****************************************HQ=\n\nAllowedIPs = 192.168.1.0\/24, 192.168.2.0\/24, 10.5.0.0\/24\n\nEndpoint = <em>IP_Publique_Serveur<\/em>:518**<\/code><\/pre>\n\n\n\n<p><code>Explications :<\/code><\/p>\n\n\n\n<p><code><strong>[Interface]<\/strong> : Contient les param\u00e8tres de l\u2019interface Wiregard sur le client.<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>PrivateKey : La cl\u00e9 priv\u00e9e de mon client.<\/code><\/li>\n\n\n\n<li><code>Address : Mon adresse IP pour le VPN (unique, transmise par l\u2019administrateur du serveur VPN).<\/code><\/li>\n<\/ul>\n\n\n\n<p><code><strong>[Peer]<\/strong> : Contient les param\u00e8tres pour le serveur.<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>PublicKey : Cl\u00e9 publique du serveur VPN (transmise par l\u2019administrateur du serveur VPN).<\/code><\/li>\n\n\n\n<li><code>AllowedIPs : Les r\u00e9seaux IP accessibles depuis le VPN <\/code><code>(<\/code><code>r\u00e9seau local, serveurs derri\u00e8re le pare-feu, r\u00e9seau propre au VPN).<\/code><\/li>\n\n\n\n<li><code>Endpoint : IP publique de la box en IPV4 et port pour le VPN<\/code>.<\/li>\n\n\n\n<li><code>Dans notre exemple les r\u00e9seaux IP 192.168.1.0\/24 et 192.168.2.0\/24 se trouvant sur le site du serveur sont accessibles. Le r\u00e9seau IP 10.5.0.0\/24 est celui de notre VPN.<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\">\u00c0 voir \u00e9galement<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installer-wireguard-vpn-client-sur-linux-mint\/\" data-type=\"page\" data-id=\"1466\" target=\"_blank\" rel=\"noreferrer noopener\">Installer WireGuard VPN Client sur Linux Mint<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>T\u00e9l\u00e9chargez le client Windows&nbsp;: https:\/\/www.wireguard.com\/install Cliquez sur [Download Windows Installer]. Double cliquez gauche sur wiregard-installer.exe dans le dossier T\u00e9l\u00e9chargement. L\u2019application d\u00e9marre, si vous disposez d\u2019un fichier .conf pour votre VPN (dans mon d\u00e9j\u00e0 cr\u00e9\u00e9 sous Linux) cliquez sur [Importer un tunnel \u00e0 partir d&rsquo;un fichier ]. Apr\u00e8s l&rsquo;importation, cliquez sur [Activer] pour vous connecter au [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1485","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/1485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1485"}],"version-history":[{"count":5,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/1485\/revisions"}],"predecessor-version":[{"id":1519,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/1485\/revisions\/1519"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}