« Wireguard » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
=== Générer paire de clés pour un client === | === 🟢 Générer paire de clés pour un client === | ||
<syntaxhighlight lang="bash" line copy> | <syntaxhighlight lang="bash" line copy> | ||
wg genkey | tee client1.key | wg pubkey > client1.pub | wg genkey | tee client1.key | wg pubkey > client1.pub | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === 🟢 Ajouter une PresharedKey (PSK) à un peer === | ||
<syntaxhighlight lang="bash" line> | <syntaxhighlight lang="bash" line> | ||
| Ligne 52 : | Ligne 52 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Commandes === | === 🟢 Commandes === | ||
Démarrer l'interface : | Démarrer l'interface : | ||
| Ligne 97 : | Ligne 97 : | ||
sudo watch -n 1 wg show wg0 | sudo watch -n 1 wg show wg0 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== 🟢 QR‑code WireGuard === | |||
*[[ Wireguard_qrcode | Wireguard qrcode ]] | |||
== Sources == | == Sources == | ||