Add script security 2 to run vpn provider scripts

Fix Bug: ... #176
This commit is contained in:
Quentin McGaw
2020-06-21 20:21:13 -04:00
parent cdbb7bf771
commit 3b43b7c2f6
3 changed files with 3 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ func (m *mullvad) BuildConf(connections []models.OpenVPNConnection, verbosity, u
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA",
"tun-ipv6",
"fast-io",
"script-security 2",
// Added constant values
"mute-replay-warnings",

View File

@@ -83,6 +83,7 @@ func (s *surfshark) BuildConf(connections []models.OpenVPNConnection, verbosity,
"reneg-sec 0",
"fast-io",
"key-direction 1",
"script-security 2",
// Added constant values
"auth-nocache",

View File

@@ -77,6 +77,7 @@ func (w *windscribe) BuildConf(connections []models.OpenVPNConnection, verbosity
"resolv-retry infinite",
"comp-lzo",
"key-direction 1",
"script-security 2",
// Added constant values
"auth-nocache",