From 722304b2162d869d36c2d4b494944ff9d896dc89 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Mon, 3 Jan 2022 15:39:51 +0530 Subject: [PATCH] wg: add example to show current configuration of an interface (#7594) Signed-off-by: Muhammad Falak R Wani --- pages.fr/linux/wg.md | 6 +++++- pages/linux/wg.md | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pages.fr/linux/wg.md b/pages.fr/linux/wg.md index bc04ee62c..1a92b4fa6 100644 --- a/pages.fr/linux/wg.md +++ b/pages.fr/linux/wg.md @@ -3,7 +3,7 @@ > Gestion de la configuration des interfaces WireGuard. > Plus d'informations: . -- 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}}` diff --git a/pages/linux/wg.md b/pages/linux/wg.md index 2b2ca27d7..a3cfbc565 100644 --- a/pages/linux/wg.md +++ b/pages/linux/wg.md @@ -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}}`