diff options
author | Marcus Hoff <marcus.hoff@ring2.dk> | 2020-09-22 19:44:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 19:44:24 +0200 |
commit | b2c61e2127d83cc0a0e27092462b62c2e8e7eaa1 (patch) | |
tree | 2bcf29142ed12494ecb57af8c72c26a3763e4d43 /data | |
parent | e7f8285d670829270a82a3ed7e603a6e8791bfe2 (diff) | |
download | vyos-1x-b2c61e2127d83cc0a0e27092462b62c2e8e7eaa1.tar.gz vyos-1x-b2c61e2127d83cc0a0e27092462b62c2e8e7eaa1.zip |
openvpn: T2907: add 'none' encryption option to not encrypt any data
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index 401f8e04b..8a1ac6bd8 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -196,7 +196,9 @@ tls-server # Encryption options {%- if encryption %} -{% if encryption == 'des' -%} +{% if encryption == 'none' -%} +cipher none +{%- elif encryption == 'des' -%} cipher des-cbc {%- elif encryption == '3des' -%} cipher des-ede3-cbc |