wg: add example to show current configuration of an interface (#7594)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:

committed by
GitHub

parent
8a70c9b0d5
commit
722304b216
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user