vpn:wireguard
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
vpn:wireguard [2023/06/25 20:40] – ptitfrap | vpn:wireguard [2023/06/26 08:20] (Version actuelle) – ptitfrap | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | [[https:// | ||
+ | |||
+ | |||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
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 ' | Set-NetConnectionProfile -InterfaceAlias ' | ||
Ligne 11: | Ligne 15: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | === Install Tunnel as Service autostart === | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | === 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