1
0
mirror of https://git.dn42.dev/wiki/wiki synced 2025-03-12 18:56:33 +00:00

Updated vyos1.4.x (markdown)

This commit is contained in:
DN42 Wiki (BURBLE-MNT) 2022-12-12 18:12:34 +00:00
parent 92f3f45e13
commit 372b095bff

View File

@ -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'