Logo
Explore Help
Register Sign In
admin/gluetun
1
0
Fork 0
You've already forked gluetun
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
loops
gluetun/internal/provider/utils/cipher.go

17 lines
245 B
Go
Raw Permalink Normal View History

Maintenance: generate Openvpn conf for 2.4 or 2.5
2021-05-23 17:40:14 +00:00
package utils
Feature: OPENVPN_VERSION which can be 2.4 or 2.5
2021-05-31 18:54:36 +00:00
import (
Feat: multiple OpenVPN ciphers for negotiation - Perfect privacy to accept AES-256-CBC and AES-256-GCM - Cyberghost default cipher set to AES-256-GCM - `OPENVPN_CIPHER` accept comma separated cipher values - Use `ncp-ciphers` for OpenVPN 2.4
2021-10-05 20:36:23 +00:00
"strings"
Feature: OPENVPN_VERSION which can be 2.4 or 2.5
2021-05-31 18:54:36 +00:00
)
Maintenance: generate Openvpn conf for 2.4 or 2.5
2021-05-23 17:40:14 +00:00
change(openvpn): Openvpn 2.4 no longer supported
2023-05-21 13:10:38 +00:00
func CipherLines(ciphers []string) (lines []string) {
chore(internal/providers): simplify OpenVPN config building
2022-04-25 07:57:45 +00:00
if len(ciphers) == 0 {
return nil
}
change(openvpn): Openvpn 2.4 no longer supported
2023-05-21 13:10:38 +00:00
return []string{
"data-ciphers-fallback " + ciphers[0],
"data-ciphers " + strings.Join(ciphers, ":"),
Maintenance: generate Openvpn conf for 2.4 or 2.5
2021-05-23 17:40:14 +00:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 587ms Template: 16ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API