Feat: add verify-x509-name to Windscribe Openvpn config (#529)
This commit is contained in:
@@ -32,6 +32,7 @@ func (w *Windscribe) GetOpenVPNConnection(selection configuration.ServerSelectio
|
||||
IP: IP,
|
||||
Port: port,
|
||||
Protocol: protocol,
|
||||
Hostname: server.OvpnX509,
|
||||
}
|
||||
connections = append(connections, connection)
|
||||
}
|
||||
|
||||
@@ -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)...)
|
||||
|
||||
Reference in New Issue
Block a user