mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-22 09:17:39 +03:00
wg: refresh and add French translation (#6687)
This commit is contained in:
parent
afc5e4e55d
commit
50fad57fd1
20
pages.fr/linux/wg.md
Normal file
20
pages.fr/linux/wg.md
Normal file
@ -0,0 +1,20 @@
|
||||
# wg
|
||||
|
||||
> Gestion de la configuration des interfaces WireGuard.
|
||||
> Plus d'informations: <https://www.wireguard.com/quickstart/>.
|
||||
|
||||
- Check status of currently active interfaces:
|
||||
|
||||
`wg`
|
||||
|
||||
- Générer une clé privée :
|
||||
|
||||
`wg genkey`
|
||||
|
||||
- Générer une clé publique à partir d'une clé privée :
|
||||
|
||||
`wg pubkey < {{chemin/vers/clé_privée}} > {{chemin/vers/clé_publique}}`
|
||||
|
||||
- Générer une clé publique et privée :
|
||||
|
||||
`wg genkey | tee {{chemin/vers/clé_privée}} | wg pubkey > {{chemin/vers/clé_publique}}`
|
@ -5,16 +5,16 @@
|
||||
|
||||
- Check status of currently active interfaces:
|
||||
|
||||
`sudo wg`
|
||||
`wg`
|
||||
|
||||
- Print a new private key:
|
||||
- Generate a new private key:
|
||||
|
||||
`wg genkey`
|
||||
|
||||
- Print a new public key:
|
||||
- Generate a public key from a private key:
|
||||
|
||||
`echo {{private_key}} | wg pubkey`
|
||||
`wg pubkey < {{path/to/private_key}} > {{path/to/public_key}}`
|
||||
|
||||
- Generate a public and private key:
|
||||
|
||||
`wg genkey | tee {{privatekey.txt}} | wg pubkey > {{publickey.txt}}`
|
||||
`wg genkey | tee {{path/to/private_key}} | wg pubkey > {{path/to/public_key}}`
|
||||
|
Loading…
Reference in New Issue
Block a user