Feat: add verify-x509-name to Windscribe Openvpn config (#529)

This commit is contained in:
Quentin McGaw
2021-07-28 07:18:08 -07:00
committed by GitHub
parent 7d4f5c8906
commit c777f8d97d
8 changed files with 381 additions and 47 deletions

View File

@@ -32,6 +32,7 @@ func (w *Windscribe) GetOpenVPNConnection(selection configuration.ServerSelectio
IP: IP,
Port: port,
Protocol: protocol,
Hostname: server.OvpnX509,
}
connections = append(connections, connection)
}

View File

@@ -50,6 +50,7 @@ func (w *Windscribe) BuildConf(connection models.OpenVPNConnection,
connection.ProtoLine(),
connection.RemoteLine(),
"auth " + settings.Auth,
"verify-x509-name " + connection.Hostname + " name",
}
lines = append(lines, utils.CipherLines(settings.Cipher, settings.Version)...)