« Wireguard » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
== Commandes == | == Commandes == | ||
=== 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> | |||
wg genkey | tee client1.key | wg pubkey > client1.pub | wg genkey | tee client1.key | wg pubkey > client1.pub | ||
</syntaxhighlight> | |||
Démarrer l'interface : | Démarrer l'interface : | ||
<syntaxhighlight lang="bash" line copy> | <syntaxhighlight lang="bash" line copy> | ||