wg: add example to show current configuration of an interface (#7594)

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
feature/windows-fix-syntax-2
Muhammad Falak R Wani 2022-01-03 15:39:51 +05:30 committed by GitHub
parent 8a70c9b0d5
commit 722304b216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@
> Gestion de la configuration des interfaces WireGuard.
> Plus d'informations: <https://www.wireguard.com/quickstart/>.
- Check status of currently active interfaces:
- Vérifier l'état des interfaces actuellement actives :
`wg`
@ -18,3 +18,7 @@
- Générer une clé publique et privée :
`wg genkey | tee {{chemin/vers/clé_privée}} | wg pubkey > {{chemin/vers/clé_publique}}`
- Afficher la configuration actuelle d'une interface wireguard :
`wg showconf {{wg0}}`

View File

@ -18,3 +18,7 @@
- Generate a public and private key:
`wg genkey | tee {{path/to/private_key}} | wg pubkey > {{path/to/public_key}}`
- Show the current configuration of a wireguard interface:
`wg showconf {{wg0}}`