Outils pour utilisateurs

Outils du site


vpn:wireguard

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
vpn:wireguard [2023/06/25 20:40] ptitfrapvpn:wireguard [2023/06/26 08:20] (Version actuelle) ptitfrap
Ligne 1: Ligne 1:
 +[[https://download.wireguard.com/windows-client/wireguard-installer.exe|The WireGuard Installer Windows]]
 +
 +
   * [[https://www.wireguard.com/quickstart/]]   * [[https://www.wireguard.com/quickstart/]]
   * [[https://www.justegeek.fr/tuto-creer-un-serveur-vpn-wireguard-sous-debian-11/]]   * [[https://www.justegeek.fr/tuto-creer-un-serveur-vpn-wireguard-sous-debian-11/]]
Ligne 5: Ligne 8:
  
  
-Réseau Windows set to Private Network (Réseau Privé)+=== Réseau Windows set to Private Network (Réseau Privé) === 
      
   Set-NetConnectionProfile -InterfaceAlias 'wg0' -NetworkCategory 'Private'   Set-NetConnectionProfile -InterfaceAlias 'wg0' -NetworkCategory 'Private'
Ligne 11: Ligne 15:
  
   * [[https://vpn.how/en/pages/autostart-wireguard-after-windows-reboot.html]]   * [[https://vpn.how/en/pages/autostart-wireguard-after-windows-reboot.html]]
 +
 +=== Install Tunnel as Service autostart ===
 +[[https://r-pufky.github.io/docs/services/wireguard/windows-setup.html#add-pre-configured-tunnel]]
 +
 +
 +=== Set Up / Down ===
 +   sudo wg-quick up wg0
 +   sudo wg-quick down wg0
 +   sudo systemctl enable wg-quick@wg0.service
 +
 +=== Génération de clef ===
 +   wg genkey | tee private.key | wg publey > public.key
 +   wg genpsk > psk.key
 +
  
 === Serveur: === === Serveur: ===
Ligne 31: Ligne 49:
   PrivateKey = ########   PrivateKey = ########
   Address = x.x.x.2/24   Address = x.x.x.2/24
 +  
   [Peer]   [Peer]
   PublicKey = ########   PublicKey = ########
vpn/wireguard.1687718426.txt.gz · Dernière modification : 2023/06/25 20:40 de ptitfrap