mirror of
https://git.dn42.dev/wiki/wiki
synced 2025-03-13 03:06:33 +00:00
Updated vyos1.4.x (markdown)
This commit is contained in:
parent
92f3f45e13
commit
372b095bff
@ -110,7 +110,15 @@ generate pki wireguard key-pair
|
||||
Private key: SOoPQdMdmXE3ssp0/vwwoIMhQqvcQls+DhDjmaLw03U=
|
||||
Public key: ArkXeK1c0pCWCouePcRRBCQpXfi4ZIvRFFwTxO60dxs=
|
||||
```
|
||||
_In any case you'll have to take note of the generated keys, because they won't be saved into the system after generation and you'll need them later. The public key will be shared with your peers. Keep secret the secret key!_
|
||||
To retrieve keys later
|
||||
```
|
||||
show wireguard keypairs pubkey [key name]
|
||||
|
||||
Example:
|
||||
show wireguard keypairs pubkey default
|
||||
ArkXeK1c0pCWCouePcRRBCQpXfi4ZIvRFFwTxO60dxs=
|
||||
```
|
||||
|
||||
### Configure First Peer
|
||||
```
|
||||
set interfaces wireguard wg1234 description 'ASnnnnnnn - My First Peer'
|
||||
|
Loading…
x
Reference in New Issue
Block a user