Skip to content

Commit e07a1a7

Browse files
committed
Add IPSec base64 secrets
1 parent 940057d commit e07a1a7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/configuration/vpn/site2site_ipsec.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ Each site-to-site peer has the next options:
2525
dynamically;
2626
* ``id`` - static ID's for authentication. In general local and remote
2727
address ``<x.x.x.x>``, ``<h:h:h:h:h:h:h:h>`` or ``%any``;
28-
* ``secret`` - predefined shared secret. Used if configured mode
29-
``pre-shared-secret``;
28+
* ``secret`` - a predefined shared secret used in configured mode
29+
``pre-shared-secret``. Base64-encoded secrets are allowed if
30+
`secret-type base64` is configured;
31+
* ``secret-type`` - specifies the secret type, either ``plaintext`` or
32+
``base64``. Default to ``plaintext``;
3033

3134

3235
* ``local-id`` - ID for the local VyOS router. If defined, during the

0 commit comments

Comments
 (0)