File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,14 @@ cipher "{{ cipher }}"
205205{% - endfor %}
206206{% - endif %}
207207
208+ {% - if config .data_ciphers is defined %}
209+ data-ciphers "{{ config.data_ciphers }}"
210+ {% - endif %}
211+
212+ {% - if config .data_ciphers_fallback is defined %}
213+ data-ciphers-fallback "{{ config.data_ciphers_fallback }}"
214+ {% - endif %}
215+
208216{% - if config .tls_cipher is defined %}
209217tls-cipher {{ config.tls_cipher }}
210218{% - endif %}
Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ openvpn:
139139 # see https://bettercrypto.org/static/applied-crypto-hardening.pdf
140140 ciphers :
141141 - AES-256-CBC
142+ # for version 2.5+ - https://community.openvpn.net/openvpn/wiki/CipherNegotiation
143+ data_ciphers : " AES-256-GCM:AES-128-GCM"
144+ data_ciphers_fallback : " AES-256-CBC"
142145 auths :
143146 - SHA384
144147 # yamllint disable-line rule:line-length
You can’t perform that action at this time.
0 commit comments