fix(openvpn): set default mssfix to 1320 for all providers with no default

- Partially address #2533
This commit is contained in:
Quentin McGaw
2024-11-05 10:12:02 +00:00
parent c655500045
commit 3473fe9c15
18 changed files with 39 additions and 13 deletions

View File

@@ -14,6 +14,7 @@ func (p *Provider) OpenVPNConfig(connection models.Connection,
providerSettings := utils.OpenVPNProviderSettings{
RemoteCertTLS: true,
AuthUserPass: true,
MssFix: 1320,
Ping: 10,
// note DES-CBC is not added since it's quite unsecure
Ciphers: []string{openvpn.AES256cbc, openvpn.AES128cbc},