mirror of https://github.com/CrimsonTome/tldr.git
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
parent
8a70c9b0d5
commit
722304b216
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue