Hotfix: remote line for Hidemyass and ivpn
This commit is contained in:
@@ -42,7 +42,7 @@ func (h *HideMyAss) BuildConf(connection models.OpenVPNConnection,
|
||||
"verb " + strconv.Itoa(settings.Verbosity),
|
||||
"auth-user-pass " + constants.OpenVPNAuthConf,
|
||||
"proto " + connection.Protocol,
|
||||
"remote " + connection.RemoteLine(),
|
||||
connection.RemoteLine(),
|
||||
}
|
||||
|
||||
lines = append(lines, utils.CipherLines(settings.Cipher, settings.Version)...)
|
||||
|
||||
@@ -42,7 +42,7 @@ func (i *Ivpn) BuildConf(connection models.OpenVPNConnection,
|
||||
"verb " + strconv.Itoa(settings.Verbosity),
|
||||
"auth-user-pass " + constants.OpenVPNAuthConf,
|
||||
"proto " + connection.Protocol,
|
||||
"remote " + connection.RemoteLine(),
|
||||
connection.RemoteLine(),
|
||||
"verify-x509-name " + connection.Hostname, // + " name-prefix"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user