Maint: remove all script-security OpenVPN options

- Affects Cyberghost
- Affects Mullvad
- Affects PureVPN
- Affects Surfshark
- Affects Torguard
- Affects Windscribe
This commit is contained in:
Quentin McGaw (desktop)
2021-09-13 16:05:14 +00:00
parent 0730b6db6e
commit cc18b158f4
6 changed files with 0 additions and 7 deletions

View File

@@ -33,8 +33,6 @@ func (c *Cyberghost) BuildConf(connection models.Connection,
"tls-exit", "tls-exit",
// Cyberghost specific // Cyberghost specific
// "redirect-gateway def1",
"script-security 2",
"route-delay 5", "route-delay 5",
// Added constant values // Added constant values

View File

@@ -30,7 +30,6 @@ func (m *Mullvad) BuildConf(connection models.Connection,
"sndbuf 524288", "sndbuf 524288",
"rcvbuf 524288", "rcvbuf 524288",
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA", "tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA",
"script-security 2",
// Added constant values // Added constant values
"auth-nocache", "auth-nocache",

View File

@@ -32,7 +32,6 @@ func (p *Purevpn) BuildConf(connection models.Connection,
"cipher AES-256-CBC", "cipher AES-256-CBC",
"route-method exe", "route-method exe",
"route-delay 0", "route-delay 0",
"script-security 2",
// Added constant values // Added constant values
"auth-nocache", "auth-nocache",

View File

@@ -40,7 +40,6 @@ func (s *Surfshark) BuildConf(connection models.Connection,
"mssfix " + strconv.Itoa(int(settings.MSSFix)), "mssfix " + strconv.Itoa(int(settings.MSSFix)),
"reneg-sec 0", "reneg-sec 0",
"key-direction 1", "key-direction 1",
"script-security 2",
"ping-restart 0", "ping-restart 0",
// Added constant values // Added constant values

View File

@@ -38,7 +38,6 @@ func (t *Torguard) BuildConf(connection models.Connection,
"mssfix " + strconv.Itoa(int(settings.MSSFix)), "mssfix " + strconv.Itoa(int(settings.MSSFix)),
"reneg-sec 0", "reneg-sec 0",
"key-direction 1", "key-direction 1",
"script-security 2",
"keepalive 5 30", "keepalive 5 30",
"sndbuf 393216", "sndbuf 393216",
"rcvbuf 393216", "rcvbuf 393216",

View File

@@ -33,7 +33,6 @@ func (w *Windscribe) BuildConf(connection models.Connection,
// Windscribe specific // Windscribe specific
"key-direction 1", "key-direction 1",
"script-security 2",
"reneg-sec 0", "reneg-sec 0",
// Added constant values // Added constant values